Below job LISTs ESP EVENTS that starts with "PROD"
//STEP01 EXEC PGM=ESP,PARM='SUBSYS(ESP)'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
L LEVEL(PROD) ALL PRINT(OUPUT.LIST.EVENTS)
//*
Below job PURGE CSF COMPLETED APPLICATIONS AND JOBS
//STEP01 EXEC PGM=ESP,PARM='SUBSYS(ESP)'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
OPER PURGSCHF NOW
//*
Below job GENERATES CURRENT LISTING/SETTING OF ESP RESOURCES
//STEP01 EXEC PGM=ESP,PARM='SUBSYS(ESP)'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
RESDEF - LIST
//*
Below job GENERATES CURRENT LISTING/SETTING OF ESP VARIABLES
//STEP01 EXEC PGM=ESP,PARM='SUBSYS(ESP)'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
VTLIST
//*
Below job SIMULATEs ESP events
//STEP01 EXEC PGM=ESP,PARM='SUBSYS(ESP)'
//SYSPRINT DD DSN=output dataset,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// DCB=(RECFM=FBA,BLKSIZE=0,LRECL=133),
// SPACE=(133,(60,10),RLSE),AVGREC=K
//SYSIN DD *
SIMULATE EVENT(PROD.DAILY)
//*
//XCFDG1 EXEC PGM=ESP,PARM='SUBSYS(ESP) MASTER'
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
SIMULATE EVENT(PROD.DAILY) SCHED('10/15/2021 00.01.00')
/*
Below job UPDATES VARIABLE called "VK"
//STEP01 EXEC PGM=ESP,PARM='SUBSYS(ESP)'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
VSET WK 2 TABLE(TABLE1)
//*
Below job Trigger an event
//STEP02 EXEC PGM=ESP,PARM='SUBSYS(ESP)'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
TRIGGER PROD.DEMAND
/*
//
Below job lists the history run times of D01D001A job
//XCFDG1 EXEC PGM=ESP,PARM='SUBSYS(ESP) MASTER'
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
LJS JOB(D01D001A) I
/*
Below two jobs generates reports of job runs
//XCFDG1 EXEC PGM=ESP,PARM='SUBSYS(ESP) MASTER'
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
REPORT
SETWIDTH 130
FROM OCT 15TH 2021 TO OCT 16TH 2021
DISPLAY JOBNAME EXECSDATE EXECST ENDDATE ENDT CPUTIME CMPC
ENDR
/*
//STEP010 EXEC PGM=ESP,REGION=4M,PARM='SUBSYS(ESP)'
//SYSPRINT DD DSN=output dataset
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(CYL,(20,20),RLSE),
// DCB=(RECFM=FB,LRECL=240,BLKSIZE=13300)
//SYSIN DD *
REPORT
DATEFORM YMD DAY(NO)
DISPLAY EXECSDATE 10,EXECST 8,ENDDATE 10,ENDT 8,APPLSYS 8,
SUBAPPL 8,
JOBNAME 8,JOBNO 6,RC 5,CMPC 8,FORCED 3,STATUS 8,CPUTIME 8,
TCBTIME 8,SRBTIME 8,EXECQT 5,MINRUNT 5,MAXRUNT 5,AVGRUNT 5,
ALLOCQT 5,CRITPATH 3,STEPS 2,EXCP 8,DEXCP 8,TEXCP 8,ESPSUB 3,
SUB# 1,SYSPLEX 8,SRVCLASS 8,OVDSUBAT 15
FROM 12AM TODAY
SORT EXECSDATE,EXECST
ENDR
/*
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.