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


Register Usage

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

Register Usage

Upon entry to the exit, the register contents are as follows:

  • Register 0 = not defined
  • Register 1 contains the address of the input parameter list
  • Register 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 expected to be:

  • 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.

Example

Following is an example of invoking the IWMSCXIT macro instruction and the resulting parameter list mapping. This is the parameter passed to the routing server exit routine specified on the SRV_MGR_EXIT@ parameter of IWM4CON.

          IWMSCXIT MF=(L,MYSCXITPL)

+MYSCXITPL DS   0D                 ++ IWMSCXIT PARAMETER LIST
+MYSCXITPL_XVERSION DS XL1         ++ INPUT
+MYSCXITPL_XRSV0001 DS CL1         ++ RESERVED
+MYSCXITPL_XPLISTLEN DS XL2        ++ INPUT
+MYSCXITPL_XACTION DS BL.8         ++ ACTION INDICATORS
+MYSCXITPL_XACTION_QUIESCE EQU B'10000000'
+                                  ++ INDICATES QUIESCE ACTION
+MYSCXITPL_XACTION_RESUME EQU B'01000000'
+                                  ++ RESUME (NOT USED IN OS/390 R3)
+MYSCXITPL_XRSV0005 DS CL3         ++ RESERVED
+MYSCXITPL_XCONNTKN DS BL.32       ++ CONNECT TOKEN FROM IWM4CON
+MYSCXITPL_XRSV000C DS CL4         ++ RESERVED
+MYSCXITPLL EQU *-MYSCXITPL        ++ LENGTH OF PARAMETER LIST

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014