Example 1

The following example shows the JCL and control statements required to print to the output data set all of the records written during a one-week period to a CICS general log.

Figure 1. DFHJUP program, example 1
//JNLPRNT1 JOB (accounting information),CLASS=A
//PRNTJNL   EXEC PGM=DFHJUP
//STEPLIB   DD DSNAME=CICSTS54.CICS.SDFHLOAD,DISP=SHR
//SYSPRINT  DD SYSOUT=A,DCB=RECFM=FBA
//SYSUT1    DD DSNAME=CICSDA#.CICSDA1.JRNL054,
//             DCB=BLKSIZE=32760,
//             SUBSYS=(LOGR,DFHLGCNV,
//            'FROM=(1995/001,06:00),TO=(1995/007,23:59),LOCAL')
//SYSIN     DD *
*-----------------------------------------------------*
*    CONTROL STATEMENT : DEFAULTS                     *
*                INPUT = SYSUT1                       *
*               OUTPUT = SYSPRINT                     *
* SELECTION QUALIFIERS :                              *
*           1. DEFAULT = ALL INPUT RECORDS            *
*-----------------------------------------------------*
OPTION PRINT
END
*-----------------------------------------------------*
/*


dfha6c0028.html | Timestamp icon Last updated: Monday, 5 June 2017