z/OS MVS Programming: Workload Management Services
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


IWMSCXIT macro — Server Manager Connect Exit

z/OS MVS Programming: Workload Management Services
SC34-2663-00

IWMSCXIT macro — Server Manager Connect Exit

IWMSCXIT will invoke the Server Manager Connect exit specified. This exit is responsible for taking the action indicated on behalf of the current Connected server address space. The return/reason codes for IWMSCXIT are those set by the exit invoked.

The list form of IWMSCXIT is intended for use by the exit routine to map the input parameters. The execute and standard form of IWMSCXIT are intended for use only by the operating system.

Note that it may be possible for the exit to be called before the caller has received control back from IWMCONN. The exit or any program it drives (synchronously or asynchronously) must synchronize with the program issuing IWMCONN to ensure that IWMCONN has returned a connect token prior to issuing IWMDISC (disconnect) or any other services that need the connect token.

The exit environment is described in the environment description below. The parameter list is in pageable storage addressable in the current address space, but is not guaranteed to be in the key of the exit as it is not expected to be changed by the exit. Upon entry to the exit, the register contents are as follows:

  • Register 0 = not defined
  • Register 1 will contain the address of a parameter list as formatted by the list form of this macro, IWMSCXIT MF=(L).
  • Registers 2-13 = not defined
  • Register 14 = return address
  • Register 15 = entry point address

Upon entry to the exit, the access register contents are undefined.

Upon return from the exit, the register contents are as follows:

  • Register 0 = Reason code if GR15 return code is non-zero
  • Registers 1-14 = not defined (need not be restored to value on entry)
  • Register 15 = Return code

Upon return from the exit, the access register contents are unchanged.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014