Release : 12.0
Component : CA Spool
To issue CA Spool commands in batch, use the sample TSOCESF delivered as a source module in the library CBQ4OPTN.
Implementation steps:
1) Assemble this module using the sample CBQ4OPTN(ASMTSOCE)
2) Linkedit this module using the sample CBQ4OPTN(LNKTSOCE)
3) Include the following CID statement in the CA Spool ESFPARM deck:
CID TS2M,USMR=NO,MAXPORT=5,OPENTYPE=U
4) Recycle the CA Spool started task
5) Use a TSO batch job as the sample below:
//STEP2 EXEC PGM=IKJEFT01
//STEPLIB DD DISP=SHR,DSN=prefix.CBQ4LOAD
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
TSOCESF 'DF' SUBSYS(ESF)
/*
Where 'DF' is a sample CA Spool command.