Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
SPIN example Specify a DD statement in the JCL as follows: //DD5 DD SYSOUT=A,SPIN=(UNALLOC,5K) In this example, the system splits the data set into 5000 record segments and makes the SYSOUT data set available for printing every 5000 records. Whatever remains in the data set at the end of the STEP is available for printing at the end of step. 31.4 JCL instream data sets in procedures With JES2 V1R13, new support is added to allow instream data sets to be created when processing a DD DATA or DD * JCL statement within procedures or INCLUDEs. This support is added for both cataloged and instream procedures. This support works the same like instream data in a normal JCL stream, but does not support generating //SYSIN DD *. This support can only be used if the job converts on a z/OS V1R13 system, but it can execute on a downlevel system. The following data sets are supported and other considerations are of concern: New SYSIN data sets are included in extended status DSLIST function. New SYSIN data sets are not included in spool data set browse of JCLIN which are part of the original JCL submitted. New SYSIN are not transmitted to other nodes or offloaded which are not part of the original JCL submitted.