GCSSAVI
Format
Purpose
Use the GCSSAVI macro to create a register save area when a branch entry to GETMAIN or FREEMAIN is issued from an exit which was defined for GENIO with EXITBR=YES, or for IUCVCOM with BRANCH=YES.
GCSSAVI allocates space for and returns the address of a register save area.
Parameters
- GET
- Indicates that you want to allocate space for a 72-byte register save area and return its address.
- FREE
- Indicates that you want to release the space allocated by the GET option.
Usage
- Use the GCSSAVI macro only when a branch entry to GETMAIN or FREEMAIN is issued from an exit which was defined for GENIO with EXITBR=YES, or for IUCVCOM with BRANCH=YES.
- The caller must be disabled for interrupts, in supervisor state, and in key 0.
- After GCSSAVI GET, you must use GCSSAVI FREE to free the allocated space.
- Use of the GCSSAVI macro is optional; you may give the address of your own register save area to the branch entries instead.
- The program issuing the GCSSAVI macro, receives the following information in its registers.
Register Contents 13 The address of the register save area.
Return Codes and ABEND Codes
The GCSSAVI macro generates no return codes or abend codes.
