z/OS DFSMSdss Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Changing reference date default settings during data set COPY and RESTORE processing (OW12011)

z/OS DFSMSdss Storage Administration
SC23-6868-01

During RESTORE and COPY operations, source and target data set reference dates remain the same, unless the data set is renamed. However, if you rename the restored or copied data set, the current date (TODAY) replaces the reference date in the target data set's DS1REFD field.

DFSMSdss provides four patch bytes that allow you to change the method of setting the DS1REFD field. Below are the patch bytes:
  • If the patch byte at offset X'38' of module ADRPATCH is set to X'FF', the reference date of the target data set that is restored without a rename is set to the current date.
  • If the patch byte at offset X'39' of module ADRPATCH is set to X'FF', the reference date of the target data set that is restored and renamed is set to the source data set's reference date.
  • If the patch byte at offset X'3A' of module ADRPATCH is set to X'FF', the reference date of the target data set that is copied without a rename is set to the current date.
  • If the patch byte at offset X'3B' of module ADRPATCH is set to X'FF', the reference date of the target data set that is copied and renamed is set to the source data set's reference date.
To cause DFSMSdss to set the reference date to the current date for all data sets being copied and restored and not renamed, modify the sample JCL (see Sample JCL) as follows:
//SYSIN DD *
   NAME ADRDSSU ADRPATCH
   VER   38        00
   REP   38        FF
   VER   3A        00
   REP   3A        FF

NOTE: As an alternative, you can use the SET PATCH command to set the patch bytes dynamically

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014