gtps1m2tSystem Macros

GDSCC-General Data Set (GDS) Control

Use this system macro to:

Format




label
A symbolic name can be assigned to the macro statement.

TYPE
The object that is being acted upon. Valid values are:

DDN
A 16-character data definition name (DDNAME)

VOL
A volume number

DSN
A data set name (DSNAME)

DSCB
A data set control block (IDSDSB)

VCB
A volume control block (IDSDSB).

ACTION
The action to be performed. Valid values are:

INQ
Retrieve information about a specific DDNAME from the GDS control structure. The valid type is DDN.

This value of the ACTION parameter is available for general use.

P1=address
The address of the DDNAME for which information is to be retrieved. The DDNAME field must be 16 bytes in length and be padded on the right with blanks.

P2=address
The address of a control block, as defined in the IDSINQ macro, that is to be used by the TPF system to return information about the specified DDNAME.

ADD
Add the specified control block to the GDS structure. Valid type codes are DSCB or VCB.

This value of the ACTION parameter is restricted to system only use.

P1=address
The address of the DSCB/VCB (IDSDSB) block to be added.

P2=address
Not used

DEL
Delete specified control information from the GDS control structure. The valid types are DDN or VOL.

This value of the ACTION parameter is restricted to system only use.

P1=address
The address of the DDNAME to be acted on for types DDN and VOL. The DDNAME field must be 16 bytes in length and be padded on the right with blanks.

P2=address
The address of a fullword volume number is required for type VOL.

LOC
Locate specified control information for the specified input. Valid types are DDN, VOL, or DSN.

This value of the ACTION parameter is restricted to system only use.

P1=address
The address of the DDNAME or DSNAME to be acted on for types DDN, DSN, and VOL. The DDNAME field must be 16 bytes in length and be padded on the right with blanks. The DSNAME field must be 44 bytes in length and be padded on the right with blanks.

P2=address
The address of a fullword volume number for type VOL.

Entry Requirements

R9 must contain the address of the ECB being processed.

Return Conditions

Programming Considerations

When the ADD, DEL, or LOC actions are performed, this macro can be run only on the main I-stream. When the INQ action is performed, this macro can be run on any I-stream.

Examples

None.