z/OS MVS Programming: Extended Addressability Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Supervisor state or problem state

z/OS MVS Programming: Extended Addressability Guide
SA23-1394-00

A PC routine can receive control in either supervisor state or problem state. A PC routine must receive control in supervisor state if:
  • The PC routine uses system services that are available only to programs that run in supervisor state. An example of such a service is the PCLINK macro.
  • The PC routine can be invoked by a basic PC issued from a program that runs in supervisor state. This requirement exists because the system does not allow a basic PC routine that receives control in problem state to issue the PT instruction to return to a program that runs in supervisor state.
Otherwise, the PC routine can run in problem state.

To specify whether a PC routine receives control in supervisor state or in problem state, use the STATE parameter on the ETDEF macro. The default is to receive control in problem state.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014