Retrieving image capture data from the log data set
If the trace output is sent to the IMS log data set, you can retrieve it by using utility DFSERA10 and a DL/I call trace exit routine, DFSERA50. DFSERA50 deblocks, formats, and numbers the image capture program records that are to be retrieved.
To use DFSERA50, you must insert a DD statement defining a sequential output data set in the DFSERA10 input stream. The default ddname for this DD statement is TRCPUNCH. The statement must specify BLKSIZE=80.
For example, you can use the following examples of DFSERA10 input control statements in the SYSIN data set to retrieve the image capture program data from the log data set:
- Print all image capture program records:
Column 1 Column 10 OPTION PRINT OFFSET=5,VALUE=5F,FLDTYP=X
- Print selected image capture program records by PSB name:
Column 1 Column 10 OPTION PRINT OFFSET=5,VALUE=5F,COND=M OPTION PRINT OFFSET=25,VLDTYP=C,FLDLEN=8, VALUE=psbname, COND=E
- Format image capture program records (in a format that can be used as input to DFSDDLT0):
Column 1 Column 10 OPTION PRINT OFFSET=5,VALUE=5F,COND=M OPTION PRINT EXITR=DFSERA50,OFFSET=25,FLDTYP=C VALUE=psbname,FLDLEN=8,DDNAME=OUTDDN,COND=E
Remember: The DDNAME= parameter names the DD statement to be used by DFSERA50. The data
set that is defined on the OUTDDN DD statement is used instead of the default TRCPUNCH DD statement.
For this example, the DD is:
//OUTDDN DD ...,DCB=(BLKSIZE=80),...