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


ALLDATA

z/OS DFSMSdss Storage Administration
SC23-6868-01

Read syntax diagramSkip visual syntax diagram
>>-+------------------------+----------------------------------><
   |             .-,---.    |   
   |             V     |    |   
   +-ALLData--(----dsn-+--)-+   
   '-ALLData--(--*--)-------'   

ALLDATA applies to full, logical and physical data set copy operations.

dsn
Specifies the fully qualified name of a data set whose data set organization is physical sequential (PS), physical sequential undefined (PSU), partitioned organization (PO), partitioned organization undefined (POU), or null.
Specify ALLDATA(dsn) or ALLDATA(*) if the data set is not empty, or ALLEXCP if the data set is empty, for the following conditions (this applies to like targets only):
  • The data set has data beyond the last-used block pointer in the data set's VTOC entry.
  • The data set has a null data set organization.
  • The data set is the first or intermediate volume of a multivolume data set and has a null data set organization.

JES2/JES3 data sets can have the characteristics specified above, as can CICS® journal data sets.

The data set is processed as follows:
  • For a full-volume copy, all of the allocated space for the source data set is copied to the target volume.
  • For a physical data set copy, all of the allocated space for the part of a data set that resides on the input volume will be copied to the target volume.
  • For a data set copy, the function of ALLDATA is dependent upon certain data set characteristics, device characteristics, and other DFSMSdss keywords specified. See Table 1 and Table 2 for more information.
* (asterisk)
Specifies all data sets whose data set organization is PS, PSU, PO, POU, or null and are not empty (the last used block pointer in the data set's VTOC entry is not zero). The data sets are processed as follows:
  • For a full-volume copy, all of the allocated space for the source data set is copied to the target volume.
  • For a physical data set copy, the allocated space for the piece of a data set that resides on the input volume will be copied to the target volume.
  • For a data set copy, the function of this parameter is dependent upon certain data set characteristics, device characteristics, and other DFSMSdss keywords specified. See Table 1 and Table 2 for more information.
Note:
  1. When you specify ALLDATA or ALLEXCP for a sequential extended format data set during a logical copy operation DFSMSdss does not retain data beyond the last used block pointer. Also, DFSMSdss allocates the same amount of space for the target data set as the source data set.
  2. When you specify ALLDATA for a PDSE data set during a logical copy operation, DFSMSdss does not retain the data that resides in the allocated but unused space. DFSMSdss allocates the same amount of space for the target data set as the source data set.

DFSMSdss determines the amount of space allocated or used for the data set by counting how many tracks have been allocated or used by the data set. For this reason, the allocated space for the target data set may occupy more tracks than the source when going to a different device type.

Attention: Because the unused portion of the data set may or may not be copied, care should be used when specifying the ALLDATA keyword with DELETE. For example, if a data set contains records past the last used block pointer in the data set’s VTOC entry that you wish to preserve and you perform a data set copy with ALLDATA and DELETE to an unlike device, these records are not copied to the target, but the source will be deleted upon successful completion of the copy.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014