z/OS MVS Programming: Writing Servers for APPC/MVS
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Linkage Conventions

z/OS MVS Programming: Writing Servers for APPC/MVS
SA23-1396-00

Callers must use the following linkage conventions for all allocate queue callable services:
  • Register 1 must contain the address of a parameter list, which is a list of consecutive words, each containing the address of a parameter to be passed. The last word in this list must have a 1 in the high-order (sign) bit.
  • Register 13 must contain the address of an 18-word save area.
  • Register 14 must contain the return address.
  • Register 15 must contain the entry point address of the service being called.
  • If the caller is running in AR ASC mode, access registers 1, 13, 14, and 15 must all be set to zero.

On return from the service, general and access registers 2 through 14 are restored (registers 0, 1 and 15 are not restored).

Any high-level language that generates this type of interface can be used to call allocate queue services.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014