z/OS DFSMStvs Administration Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Alter a data set expiration date: Example 6

z/OS DFSMStvs Administration Guide
GC52-1388-00

In this example, an ALTER command is used to modify the expiration date of data set MOD.ALTER.EXAMPLE with the keyword TO.
//ALTER5   JOB    ...
//STEP1    EXEC PGM=IDCAMS
//SYSPRINT DD   SYSOUT=A
//SYSIN    DD   *
     ALTER -
           MOD.ALTER.EXAMPLE -
           TO(1989123)
/*
The command's parameters follow:
  • MOD.ALTER.EXAMPLE is the name of the data set.
  • TO changes the expiration date of the data set by name. The year (1989) is a four-digit number, concatenated with the day (123). You can also use two digits (89) to indicate the year. For expiration dates beyond the year 1999, a four-digit year must be specified.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014