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 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 card must specify BLKSIZE=80.
Examples: 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=EThe DDNAME= parameter is used to name the DD statement used by DFSERA50. The data set defined on the OUTDDN DD statement is used instead of the default TRCPUNCH DD statement. For this example, the DD appears as://OUTDDN DD ...,DCB=(BLKSIZE=80),...