How to enter CA Workload Automation ESP Edition commands from outside ESP.
Is it possible to enter commands to ESP using batch JCL?
You can setup JCL to issue ESP Commands. Here is an example of putting the output of LAP command to file using the sysprint DDname.
//STEP1 EXEC PGM=ESP,REGION=3000K,PARM='SUB(X114)'
//STEPLIB DD DISP=SHR,DSN=CYB2.TS.ESP.V114.CD7YLOAD
//SYSPRINT DD DSN=XXXX.XXXX.LAPDUMP,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(50,25),RLSE),UNIT=SYSDA,
// DCB=(DSORG=PS,RECFM=FB,LRECL=132)
//SYSIN DD *
//*
LAP aaaaaaa.ggg ALL