SVC 20 (0A14)

CLOSE macro - is type 4, gets LOCAL lock.

Calls module IGC00020.

If MODE=24 (R1 not = 0), GTF data is:
R15
No applicable data.
R0
Address of parameter list if R1 contains zero. Otherwise, no applicable data.
R1
Address of the parameter list or zero. Zero if "MODE=31" was specified in the CLOSE macro.
PLIST
Four to 40 bytes of the CLOSE parameter list, which has a maximum length of 1020 bytes. The list is a series of 4-byte entries in the following format:
Value Option byte; bit settings are:
0 Bits
1... .... Last entry indicator.
.000 .... DISP.
.100 .... REWIND.
.010 .... FREE.
.011 .... LEAVE.
.001 .... REREAD.
1-3 ACB or DCB address.
If MODE=31 (R1 = 0), GTF data is:
R15
No applicable data.
R0
Address of parameter list.
PLIST
Eight to 80 bytes of CLOSE parameter list, which has a maximum length of 1020 bytes. The list is a series of 8-byte entries in the following format:
Value Option byte; bit settings are:
0 Bits
1... .... Last entry indicator.
.000 .... DISP.
.100 .... REWIND.
.010 .... FREE.
.011 .... LEAVE.
.001 .... REREAD.
1-3 Zeroes.
4-7 ACB or DCB address.