z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Alter a Data Set Expiration Date: Example 6

z/OS DFSMS Access Method Services Commands
SC23-6846-01

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(2005123)
/*
The command's parameters are:
  • MOD.ALTER.EXAMPLE is the name of the data set.
  • TO changes the expiration date of the data set by name. The year (2005) is a four-digit number, concatenated with the day (123).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014