Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Creating (Allocating) a DASD Data Set Using REALLOC z/OS DFSMSdfp Advanced Services SC23-6861-01 |
|
The REALLOC macro builds a parameter list to allocate a new data
set. You can code the macro in the execute, DSECT, and list forms,
but not in the standard form. The calling program includes the following
requirements and options:
In addition, the calling program must provide the REALLOC macro with one or more model DSCBs. You can use the OBTAIN macro to get the DSCBs from other data sets and modify them for the request. DADSM uses these model DSCBs to validate the allocation request, and to construct the DSCBs written to the VTOC for the requested allocation. The ALLOC parameter for the REALLOC macro defines the allocation request as either absolute (ABS) or movable (MOV). The requested data set's allocation is not sensitive to its placement on the volume. This is not a reference to the format-1 DSCB bit DS1DSGU (unmovable bit), that can be either on or off in an ALLOC=MOV request's partial DSCB. That is, the data set can subsequently contain location-dependent information. An
absolute request is limited to a single volume with indexed VTOC support.
An absolute request provides a set of allocation parameters, a full
format-1 or format-8 DSCB, and an optional format-3 DSCB, that describe
the space and attributes of the desired data set. An optional format-9
DSCBs can also be provided to pass additional attributes:
For an absolute request, the following checks are performed
prior to writing the passed DSCBs. The type of checks depend on the
volume for which the REALLOC macro is issued.
The partial DSCB (mapped by the IECPDSCB macro) consists of the first 106 bytes of a format-1 DSCB followed by 10 bytes in which the primary space request and number of directory blocks are specified. A movable request is limited to a single volume with or without
indexed VTOC support. A movable request provides a set of allocation
parameters and a partial DSCB that describe the attributes of the
desired data set:
|
Copyright IBM Corporation 1990, 2014
|