RELEASE (Release Logical Unit) Macro

The macro specifies the names of programmer logical units to be released.

RELEASE can be used only for units that are used within a given partition. Consider informing your operator about this release of an assignment. You can do this by a message to the console.

Format

Read syntax diagramSkip visual syntax diagramnameRELEASE (,SYSnnn), savearea

Requirements for the caller

AMODE:
24
RMODE:
24
ASC Mode:
Primary

Parameters

SYSnnn
Specifies the programmer logical unit that is to be released. Up to 16 units can be specified in a list, which must be enclosed in parentheses.

All the units that are specified are checked by the assembler to assure that no system logical units are requested for release. If system logical units are specified, an MNOTE is issued and such units are ignored. Before any release is attempted, a check is made for ownership of the unit. If the requesting partition does not own the unit, or if the unit is already unassigned, the request is ignored.

savearea
Is the name of an 8-byte word-aligned area where registers 0 and 1 are saved for your program. If the operand is not provided, the contents of registers 0 and 1 are overwritten.

The macro expansion includes a unit table and loads the table 's address into register 0. If the save area operand is specified, the macro expansion saves registers 0 and 1.

If there is no permanent assignment, the device is unassigned. If the device is at permanent assignment level, no action is taken on the unit.