Table 1 and
Table 2 describe
the functions of the ALLDATA and ALLEXCP keywords during a data set
copy to LIKE and UNLIKE devices, respectively.
Table 1. ALLDATA and ALLEXCP Interactions When Copying to LIKE Device. Read the first eleven columns to find the row that matches your
situation. Read the last column to find what DFSMSdss does. - Y
- Yes
- N
- No
- X
- Either
- -
- Not Applicable
- 1
- Allocate and copy all the allocated space
- 2
- Allocate and copy only the used space
- 3
- Allocate and copy only one track
- 4
- Allocate all the allocated space, and copy only the used space
- 5
- Allocate all the allocated space, and copy only one track
- 6
- Do not process the data set
Empty Data Set |
EOF as First Record |
DSORG |
Load Module |
ALLDATA(*) |
ALLDATA(dsn) |
ALLEXCP |
NOPACKING |
REBLOCK |
Action |
---|
X |
X |
Undefined |
- |
X |
X |
X |
- |
X |
1 |
N |
X |
Sequential1 |
- |
N |
N |
X |
- |
X |
2 |
N |
X |
Sequential1 |
- |
Y |
- |
X |
- |
N |
1 |
N |
X |
Sequential1 |
- |
Y |
- |
X |
- |
Y |
4 |
N |
X |
Sequential1 |
- |
- |
Y |
X |
- |
N |
1 |
N |
X |
Sequential1 |
- |
- |
Y |
X |
- |
Y |
4 |
N |
X |
Partitioned2 |
X |
N |
N |
X |
N |
X |
2 |
N |
X |
Partitioned2 |
X |
N |
N |
N |
Y |
X |
1 |
N |
X |
Partitioned2 |
N |
Y |
- |
X |
N |
X |
4 |
N |
X |
Partitioned2 |
N |
- |
Y |
X |
N |
X |
4 |
N |
X |
Partitioned2 |
Y |
Y |
- |
X |
N |
N |
1 |
N |
X |
Partitioned2 |
Y |
Y |
- |
X |
N |
Y |
4 |
N |
X |
Partitioned2 |
Y |
- |
Y |
X |
N |
N |
1 |
N |
X |
Partitioned2 |
Y |
- |
Y |
X |
N |
Y |
4 |
Y |
N |
Sequential1 |
- |
X |
X |
N |
- |
X |
6 |
Y |
N |
Sequential1 |
- |
X |
X |
Y |
- |
N |
1 |
Y |
N |
Sequential1 |
- |
X |
X |
Y |
- |
Y |
6 |
Y |
Y |
Sequential1 |
- |
X |
X |
Y |
- |
N |
1 |
Y |
Y |
Sequential1 |
- |
X |
X |
Y |
- |
Y |
3 |
Y |
Y |
Sequential1 |
- |
N |
N |
N |
- |
X |
5 |
Y |
Y |
Sequential1 |
- |
Y |
- |
N |
- |
X |
3 |
Y |
Y |
Sequential1 |
- |
- |
Y |
N |
- |
X |
3 |
Notes: - 1 When ALLDATA or ALLEXCP is specified for a sequential
extended format data set, data beyond the last used block pointer
is not retained. The target data set is allocated with the same amount
of space as the source data set during a logical restore or copy operation.
- 2 Partitioned data sets that have directories (whether
or not there are empty members in the directory) are treated as not
empty.
|
Table 2. ALLDATA and ALLEXCP Interactions When Copying to UNLIKE Device. Read the first twelve columns to find the row that matches your
situation. Read the last column to determine what DFSMSdss does. - Y
- Yes
- N
- No
- X
- Either
- -
- Not Applicable
- 1
- Allocate the same number of tracks as the source, and make a track
image copy.
- 2
- Allocate and copy only the used space
- 3
- Allocate and copy only one track
- 4
- Allocate all the allocated space, and copy only the used space
- 5
- Allocate all the allocated space, and copy only one track
- 6
- Do not process the data set
Empty
Data
Set
|
EOF
as First
Record
|
BLKSIZE=0
Data Set
|
DSORG |
Load Module |
Target
Tracksize
> Source
|
PROCESS
(UNDEF)
|
ALLDATA
(*)
|
ALLDATA
(dsn)
|
ALLEXCP |
Action |
---|
X |
X |
X |
Undefined |
- |
X |
N |
X |
X |
X |
6 |
X |
X |
X |
Undefined |
- |
N |
Y |
X |
X |
X |
6 |
X |
X |
X |
Undefined |
- |
Y |
Y |
X |
X |
X |
1 |
N |
X |
N |
Sequential1 |
- |
X |
- |
N |
N |
N |
2 |
N |
X |
N |
Sequential1 |
- |
X |
- |
Y |
- |
X |
4 |
N |
X |
N |
Sequential 1 |
- |
X |
- |
- |
Y |
X |
4 |
N |
X |
Y |
Sequential 1 |
- |
X |
- |
X |
X |
X |
6 |
N |
X |
X |
Partitioned 2 |
N |
X |
- |
N |
N |
N |
2 |
N |
X |
X |
Partitioned 2 |
N |
X |
- |
Y |
- |
X |
4 |
N |
X |
X |
Partitioned 2 |
N |
X |
- |
- |
Y |
X |
4 |
N |
X |
N |
Partitioned 2 |
Y |
X |
- |
N |
N |
X |
2 |
N |
X |
N |
Partitioned 2 |
Y |
X |
- |
Y |
- |
X |
4 |
N |
X |
N |
Partitioned 2 |
Y |
X |
- |
- |
Y |
X |
4 |
N |
X |
Y |
Partitioned 2 |
Y |
X |
- |
X |
X |
X |
6 |
Y |
N |
X |
Sequential 1 |
- |
X |
- |
X |
X |
X |
6 |
Y |
Y |
N |
Sequential 1 |
- |
X |
- |
N |
N |
N |
3 |
Y |
Y |
N |
Sequential 1 |
- |
X |
- |
N |
N |
Y |
5 |
Y |
Y |
N |
Sequential 1 |
- |
X |
- |
Y |
- |
N |
3 |
Y |
Y |
N |
Sequential 1 |
- |
X |
- |
- |
Y |
X |
5 |
Y |
Y |
Y |
Sequential 1 |
- |
X |
- |
X |
X |
X |
6 |
Notes: - 1 When ALLDATA or ALLEXCP is specified for an extended-sequential
data set, data beyond the last used block pointer is not retained.
The target data set is allocated with the same amount of space as
the source data set during a logical restore or copy operation.
- 2 Partitioned data sets that have directories (whether
or not there are empty members in the directory) are treated as not
empty.
|