Example - identifying data sets to the system

  
  
/*PRIORITY    8  
//DATASETS  JOB  FREEMAN,MSGLEVEL=1  
//STEP1     EXEC PGM=IEFBR14  
//D1        DD   DSN=ABC,DISP=(NEW,CATLG),UNIT=3390,  
//           VOL=SER=333001,SPACE=(CYL,(12,1,1),CONTIG)  
//D2        DD   DSN=&&NAME,UNIT=3390,SPACE=(TRK,(10,1))  
//D3        DD   DSN=SYSLIB,DISP=(OLD,KEEP)  
//D4        DD   *  
            .  
            .  
            .  
          data  
            .  
            .  
            .  
/*  

 
  1. This job runs in priority 8, the meaning of which is defined by the installation.
  2. The job statement specifies that system messages and JCL statements are to be printed (MSGLEVEL=1).
  3. D1 catalogs a newly created data set. The space request is for 12 primary cylinders, 1 secondary, 1 directory, and the space is to be contiguous.
  4. D2 creates a temporary data set on a 3390. The space request is for 10 primary tracks and 1 secondary.
  5. D3 defines an old cataloged data set.
  6. D4 defines a SYSIN data set. This will be followed by data in the input stream.