SYNADRLS—Release SYNADAF buffer and save areas (BDAM, BISAM, BPAM, BSAM, EXCP, QISAM, and QSAM)

The SYNADRLS macro releases the message buffer, parameter save area, and register save area provided by a SYNADAF macro. It must be used to perform this function whenever a SYNADAF macro is used.

When the SYNADRLS macro is issued, register 13 must contain the address of the register save area provided by the SYNADAF macro. The control program loads register 13 with the address of the previous save area, and sets word 3 of that save area to 0. Thus, when control is returned, the save area pointers are the same as before the SYNADAF macro was issued.

The SYNADRLS macro may be issued in 24- or 31-bit addressing mode. When issued in 31-bit addressing mode, all addresses must be valid 31-bit addresses. When the SYNADRLS macro is issued in 31-bit addressing mode, the caller must ensure that the input save area address in register 13 is a valid 31-bit address. This would be true unless your program changes it.

On return from SYNADRLS, register 15 will be unpredictable. Therefore, callers in 31-bit addressing mode must either not use register 15 as a base register or must restore register 15 on return from SYNADAF or SYNADRLS.

The format of the SYNADRLS macro is: