Environment of the SRB routine at entry
At entry, an SRB routine is in supervisor state, primary ASC mode,
enabled and unlocked unless you specified LLOCK=YES, in which case
the local lock is held. The general purpose registers contain the
following:
- Register
- Contents
- 0
- SRB address if SCHEDULE macro is used; zero if IEAMSCHD is used.
- 1
- If the IEAMSCHD macro is used, the value provided by the PARM parameter; or if SCHEDULE is used, the SRBPARM field of the SRB.
- 2
- If the IEAMSCHD macro is used with FRRADDR=YES, or if SCHEDULE is used with FRR=YES, the 24-bit address of the FRR parameter area; otherwise, not part of the intended programming interface.
- 14
- Return address.
- 15
- Entry point address.
Other general purpose registers and all access registers are used as work areas by the system.