Example of the ENDCNTL statement

//STEP1     EXEC      PGM=PRINT
//ABLE      CNTL
//STATE1    PRINTDEV  BUFNO=20,PIMSG=YES,DATACK=BLOCK
//BAKER     ENDCNTL
//CALLER    DD        UNIT=3800-3,CNTL=*.ABLE

(For information about the PRINTDEV JCL statement see PSF for z/OS: Customization.)