SVC 32 (0A20)

REALLOC or No macro - is type 4, gets LOCAL lock.

Calls module IGGDAC01.

APF protected. The REALLOC macro always loads the parameter list address in register 1 and complements it. Other combinations have no macro. GTF data is:
R15
No applicable data.
R0
If positive, contains address of associated JFCB. If negative (not complemented — high-order bit is set on), contains the address of the associated partial DSCB.
R1
If positive, contains the address of a fullword containing: device code. If call made for a VIO data set (JFCVRDS is set on) UCB address.

If negative (complement address), contains the address of a REALLOC parameter list and R0 contains no applicable data. The parameter list is 32 bytes long as described below:

To pass a dummy REALLOC parameter list on the JFCB or partial DSCB interface, where R0 contains applicable data, specify byte 9 bit 0 in the REALLOC parameter list. The UCB address must also be set. The Minimum Allocation Unit can optionally be set. All other fields in the REALLOC parameter list are ignored.
Bytes
Description
0-3
C'REAL', ID of parameter list.
4-5
Length of parameter list.
6-7
Return code.
8
Parameter flag byte.
9
Processing flag byte.
Bits Description
1... .... Dummy REALLOC parameter list is passed.

Only the processing flag byte (byte 9), Minimum Allocation Unit (bytes 16-19), and UCB address (bytes 24-27) are used. Ignore all other bytes and use the values in the JFCB or Partial DSCB interface as passed in register 0.

.1.. .... Space must be allocated from track-managed space.
..1. .... Reserved set to zeros.

Applicable to EAV. The request is to be allocated using a combination of the track-managed or the cylinder-managed spaces. If the exact space is not available, then the request is failed.

.... .x.. Unused.
.... ..11 The extended attribute (EATTR=) value to be used. Valid when byte 9, bit 0 is set and when the JFCB is passed in register 0.
Description for each value:
b‘00’
EATTR has not been specified. The defaults for EAS eligibility apply. VSAM data sets default is EAS-eligible. This is equivalent to EATTR=OPT being specified. Non-VSAM data sets default is not EAS eligible. This is equivalent to EATTR=NO being specified.
b‘01’
EATTR=NO has been specified. The data set cannot have extended attributes (format 8 and 9 DSCBs) or optionally reside in EAS.
b‘10’
EATTR=OPT has been specified. The data set can have extended attributes and optionally reside in EAS. This is the default for VSAM data sets.
b‘11’
Reserved for future use.
10
Number of contiguous partial format 9 DSCBs that are located at the address in bytes 32-35. The default is 1.
11
Reserved.
12-15
Data set size in tracks.
16-19
Minimum allocation unit in tracks.
20-23
Address of partial DSCB or format 1 DSCB.
24-27
UCB Address.
28-31
Partitioned data set directory quantity in tracks.
32-35
Address of format 2 DSCB or contiguous partial format 9 DSCBs. Byte 10 defines the number of partial format 9 DSCBs. Format 9 DSCBs with a subtype field with a value other than 1 is ignored. Only format 9 DSCB attribute data in this model is used.
36-39
Address of format 3 DSCB.