To chain a data set to a given volume or set of volumes, the following command is used:
UPD vvvvvv,CHD=dsn,FILESEQ=nnnn
Where:
Represents the base volume serial number for the multi-data set.
Specifies the data set name of the data set to be chained (up to 44 characters).
specifies the relative file number of the data set being chained (this number must be one greater than the last data set currently in the chain).
Important! Do not use FILESEQ=001 for the first data set in the chain. This field must be used starting with the second data set (FILESEQ=002).
Once the data set has been successfully chained, you may use the UPD command to update the other data set related fields, if necessary.
Example
The following is an example of three data sets on a single volume that needs re-chaining. The volume serial number is 000001. The data set on file one is USERDSN.FILE1, the second is USERDSN.FILE2, and the third is USERDSN.FILE3.
UPD 000001,DSN=USERDSN.FILE1 -ADDRESSES BASE VOLUME UPD 000001,CHD=USERDSN.FILE2,FILESEQ=002 -CHAINS FILE2 TO BASE DSN UPD 000001,CHD=USERDSN.FILE3,FILESEQ=003 -CHAINS FILE3 TO BASE DSN
|
Copyright © 2014 CA.
All rights reserved.
|
|