After copying the data set attributes, all data set records of
the target data set make the data set appear to be the source. DFSMSrmm
copies all attributes that are not related to the physical aspects
of the data set, volume, and tape drive.
Note: - Those attributes related to retention are subject to update by
the next run of inventory management. The intention is that the copied
data set will be retained in the same way as was the source data set.
The actual results depend on the retention methods and policies used.
- When you use the CHANGEDATASET COPYFROM subcommand operand, the
last user change date and time information of the target data set
is also updated during command processing to reflect that the command
was processed.
- After the attributes are copied, there will be no trace of the
copy application or the batch job used to perform the copy, because
all target data set attributes reflect the creation and use of the
source data set. However, the last change information reflects the
time the COPYFROM was done.
Table 1 identifies data set attributes
that are not copied or are copied only in certain cases. For each
attribute, it lists the CHANGEDATASET operand (if any) that can set
this attribute and the extract file field and REXX variable (if any)
for that attribute.
Table 1. Data set attributes that are
not copied by COPYFROMAttribute |
CHANGEDATASET operand |
Extract file field |
REXX Variable |
---|
ABEND processing Note: This attribute is
copied only when it is set. The source setting is merged with the
target setting.
|
ABEND |
RDABEND |
EDG@ABND |
Block count |
BLKCOUNT |
RDBLKCNT |
EDG@BLKC |
Block size |
BLKSIZE |
RDBLKSZ |
EDG@BLKS |
Catalog status |
n/a |
RDCAT |
EDG@CTLG |
Compression ratio |
n/a |
RDCOMP_RAT |
EDG@CRAT |
Data class name |
DATACLASS |
RDDCNAME |
EDG@DC |
Data set name |
data_set_name |
RDDSNAME |
EDG@DSN |
Data set sequence number |
LABELNUMBER |
RDLABNO |
EDG@DSEQ |
Data set size |
n/a |
RDDSSIZE, RDSIZE |
EDG@DSS6 |
Device number |
DEVNUM |
RDUNITAD |
EDG@DEV |
End block ID |
n/a |
n/a |
n/a |
Last change date |
n/a |
RDLCDATE |
EDG@LCDT |
Last change system |
n/a |
RDLCSID |
EDG@LCSI |
Last change time |
n/a |
RDLCTIME |
EDG@LCTM |
Last change user |
n/a |
RDLCUID |
EDG@LCID |
Last device number |
n/a |
RDLDEVN |
EDG@LDEV |
Logical record length |
LRECL |
RDLRECL |
EDG@LRCL |
Owner |
n/a |
RDOWNDSN |
EDG@OWN |
Percentage of the volume |
PERCENT |
RDPERCENT |
EDG@DPCT |
Physical file sequence number |
FILESEQ |
RDDSNSEQ |
EDG@FILE |
Physical space used |
n/a |
RDPHYS_SIZE |
EDG@PSZ6 |
Record format |
RECFM |
RDRECFM |
EDG@RCFM |
Start block ID |
n/a |
n/a |
n/a |
Storage class name |
STORAGECLASS |
RDSCNAME |
EDG@SC |
Storage group |
n/a |
RDSGNAME |
EDG@SG |
Tape encryption key |
BESKEY |
RDBESKEY |
EDG@BESK |
Total block count (increased size) |
TOTALBLKCOUNT |
RDTOTAL_BLKCNT |
EDG@BLK6 |
Total block count |
TOTALBLKCOUNT |
RDTOTAL_BLKCNT_OLD |
EDG@BLKT |
Volume serial |
VOLUME |
RDVOLSER |
EDG@VOL |
VRSEL exclusion Note: This attribute is
copied only when both the source and target volumes are managed by
RM(VRSEL)
|
VRSELEXCLUDE |
RDVEX |
EDG@VEX |