On Tue, 21 Oct 2008 08:58:36 -0400, J R <[EMAIL PROTECTED]> wrote: >It depends if you want the commands synchronized >with a particular step, or not. > >If you don't require step synchronization, you can >simply include the commands in the JCL, either >directly or as operands of the COMMAND statement. > >However, if you do require step synchronization, you >will need a program. Check the CBT tape. >
The simplest way, but which requires that the INTRDR be set up correctly, is to do something like: //DOCMDS EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //SYSUT2 DD SYSOUT=(*,INTRDR) //SYSUT1 DD DATA,DLM='$$' /*$VS,'D A,L' /*$VS,'F CICS*,CEMT PER SHUT IMMED' $$ -- John ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html