Reading log streams using batch jobs (for example, DFHJUP)

You can run a batch job, such as DFHJUP, to read and process CICS® log data in MVS™ system logger log streams and in MVS SMF data sets.

You can:

These features are selected and controlled by a series of statements that allow you to define the input and output options, selection ranges, and various field and record selection criteria.

When reading log stream data, be careful not to discard records prematurely. Records returned to a user application program are considered to have been processed, and the appropriate log stream cursor (the browsed cursor, the deleted cursor, or the LASTRUN cursor) is updated. On subsequent runs, if you use cursor-related processing options, the records you processed previously are not read. Do not assume that records returned from DFHJUP or your own batch job will be seen again on a later run, as this might not be the case. Only discard such records if you are sure that you no longer need them on the log stream.

Note:
If you are using a batch job to read log stream data, ensure that it includes the SUBSYS keyword as part of its input or data DD. See SUBSYS=(LOGR,DFHLGCNV,...) keyword for information.

Related tasks
Logging and performance

Related reference
SUBSYS=(LOGR,DFHLGCNV,...) keyword
Using DFHJUP to read log streams
DD statements for DFHJUP or your own batch job
Utility control statements for DFHJUP
DFHJUP return codes
Managing the size of log streams
Log data accessible to DFHJUP
Diagnostic information in DFHJUP output
Examples of using DFHJUP
[[ Contents Previous Page | Next Page Index ]]