Created On: 27 November 2012
Problem:
If you have enabled a trace in Fileshare what will you see in the trace if an application has issued a rollback of a transaction?
Resolution:
The Fileshare trace will log the file operations that are performed on a file. The file handler op code for a rollback is DD and it is a standard file operation you the full code you see is FA DD.
An example log showing a rollback would look like:-
07385680 FS163-I Input- FSADMIN FA8E C:\\MYFILES\\AFILE.DAT
07385680 FS173-I Output- FSADMIN 2/3
07385680 FS163-I Input- FSADMIN FAF3 C:\\MYFILES\\AFILE.DAT
07385682 FS173-I Output- FSADMIN 0/0
07391544 FS163-I Input- FSADMIN FADD
07391546 FS173-I Output- FSADMIN 0/0
07391719 FS171-I Input- Logoff FSADMIN
07391723 FS173-I Output- 00001 0/0
You can see in the trace above that the FADD (Rollback) has been issued.
An example log showing a rollback would look like:-
07385680 FS163-I Input- FSADMIN FA8E C:\\MYFILES\\AFILE.DAT
07385680 FS173-I Output- FSADMIN 2/3
07385680 FS163-I Input- FSADMIN FAF3 C:\\MYFILES\\AFILE.DAT
07385682 FS173-I Output- FSADMIN 0/0
07391544 FS163-I Input- FSADMIN FADD
07391546 FS173-I Output- FSADMIN 0/0
07391719 FS171-I Input- Logoff FSADMIN
07391723 FS173-I Output- 00001 0/0
You can see in the trace above that the FADD (Rollback) has been issued.
Incident #2600954
Old KB# 36636
#COBOL