Example 3

//JOB1     JOB  ,'W. BAILEY',MSGCLASS=B,BYTES=(30,DUMP)
//STEP1    EXEC PGM=TESTPGM
//SYSUDUMP DD   SYSOUT=D
            .
            .
            .  

If the first step exceeds 30,000 lines of output, the system cancels the job and writes a SYSUDUMP dump to the sysout data set for class D.