Previous Topic: Comment StatementNext Topic: TMS Report 20 - Addition and Deletion of Data Sets


Control Statement Examples

  1. Assume that TMSPTRS identified several used DSNBs (numbers 000315, 000050 and 001388) that no longer had valid associations with a volume. The TMSAGGR control statements to clear the DSNBs of information and return them to the free chain are:
    DEL 000315
    DEL 000050
    DEL 001388
    
  2. VOLSER 109830 was taken off-site and five files were written on it. The control statements to build the DSNB chain are:
                                                                       72  
    
    VOL 109830
    DSN=FILE.TWO.DATASET.NAME,EXPDT=*MMMDD YYYY*,CJOB=OFFSITE,          *
                   CDATE=*MMMDD YYYY*,CTIME=1530
    DSN=FILE.THREE.DATASET.NAME,EXPDT=*MMMDD YYYY*,CJOB=OFFSITE,        *
                   CDATE=*MMMDD YYYY*,CTIME=1533
    DSN=FILE.FOUR.DATASET.NAME,EXPDT=*MMMDD YYYY*,CJOB=OFFSITE,         *
                   CDATE=*MMMDD YYYY*,CTIME=1539
    DSN=FILE.FIVE.DATASET.NAME,EXPDT=*MMMDD YYYY*,CJOB=OFFSITE,         *
                   CDATE=*MMMDD YYYY*,CTIME=1547
    
  3. The control statements to purge the DSNBs from volumes 153100, 158309 and 143772 are:
    VOL 153100,PURGE
    VOL 158309,PURGE
    VOL 143772,PURGE