RELSE (Release a Block) Macro

The macro is used with blocked input records read from or updated on a disk device.

The macro is also used with blocked input records read from magnetic tape.

The macro allows you to skip the remaining records in a block and continue processing with the first record of the next block when the next GET macro is issued. When used with blocked spanned records, RELSE causes the next GET to skip to the first segment of the next record.

If RELSE immediately precedes a CNTRL macro with FSL or BSL (tape spacing for spanned records), then LIOCS ignores the CNTRL macro request.

Format

Read syntax diagramSkip visual syntax diagramnameRELSEfilename(1)

Requirements for the caller

AMODE:
24
RMODE:
24
ASC Mode:
Primary

Parameters

filename | (1)
Specifies the name of the file for which a release operation is requested. The name is the same as the one you specified in the DTFxx macro for the file. It is the only operand that is required for this macro and can be specified as a symbol or in register notation.