|
xvsamLog |
|
|
xvsamLog is a utility which provides you the possibility to analyze what C_ISAM has stored in the RECOVERY.LOG file, with the aim to identify all operations executed on a single record, a single file etc. Syntax xvsamLog [-r] [-d] [-p pid] [-f file [-x] [-k regexp]] < RECOVERY.LOG > file Launched without any parameter, xvsamLog analyzes the input-output sequence of operations stored by C-ISAM on the RECOVERY.LOG file, and it produces a printout in a readable format. At the moment, recognized I/O operations are :
For each operation contained in the RECOVERY.LOG file, the following information is printed : time of operation, internal process identifier of the transaction - that, for UNIX servers, coincides with the pid of the process - and file sequence number - isfd - that is assigned at the moment of the OPEN of each file and remains unique within the transaction. Options
Examples # xvsamLog -r < RECOVERY.LOG > recovery.txt All input-output operations and contents of each record are listed out on the RECOVERY.TXT file. # xvsamLog -f /host/valb/data/USRCAT3/PRONTOT < RECOVERY.LOG > recovery.txt This command extracts only the input-output operations performed by transactions which have opened the specified XVSAM file PRONTOT, belonging to the USRCAT3 catalog, and it lists them out on RECOVERY.TXT. # xvsamLog -r -f /host/valb/data/USRCAT3/PRONTOT -x -k "^0219040[CF]" < RECOVERY.LOG > recovery.txt This command extracts only input-output operations performed on all the records of a specified file - the XVSAM file PRONTOT from catalog USRCAT3 - which contain in their 4 first bytes the hexadecimal value X’0219040C’ or X’0219040F’. |