z/OS Language Environment Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Usage notes for AMODE 64 applications

z/OS Language Environment Customization
SA38-0685-00

  • See the CEEWQATX sample abnormal termination exit routine for a coding example.
  • Specify FETCHABLE=RENT on the CELQPRLG macro.
  • The abnormal termination exit should call only the following C library functions:
    • Date and time functions
    • Dynamic storage functions
    • Message handling functions
    • National language support functions
    • Dump-oriented and CIB-oriented functions
    • printf() and related functions
  • Language Environment issues fetch() to load each routine named in CELQXTAN. If the fetch is successful, the routine is called. Any return code from the called routine is ignored, and release() is called to delete the routine.
  • If Language Environment intercepts a program check or ABEND while an abnormal termination exit is in control, ABEND 4087 with reason code 10 is issued to end the application.
  • Registers at entry to the AMODE 64 abnormal termination exit:
    Register 1
    Points to CIB
    Register 4
    Caller's DSA pointer (biased)
    Register 5
    Pointer to WSA (if available)
    Register 6
    Address of called entry point
    Register 7
    Return address

    The other register contents are unspecified.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014