Linkage conventions for the callable services

Callers must use the following linkage conventions for all z/OS UNIX callable services:

On return from a callable service, general and access registers 2 through 13 are restored. General and access registers 0, 1, 14, and 15 are not restored.

The caller must be running with 31-bit or 64-bit addressing (AMODE=31 or AMODE=64), because the linkage code uses control blocks that reside above the 16-MB line.

See z/OS MVS Program Management: Advanced Facilities for detailed linkage information.