Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
General programming considerations z/OS TSO/E Customization SA32-0976-00 |
|
An exit routine must follow standard linkage conventions. Whenever
an exit receives control, the contents of the general registers are:
When an exit receives control, register 1 contains the address of a parameter list. The parameter list provides information the exit needs to perform its processing. Exits also use the parameter list to return information to the invoking program. All exits, except the logon pre-prompt exit IKJEFLD and the three Session Manager exits, support the use of return codes. The exit routine passes back the return code to the invoking program in register 15. Return codes indicate what action the invoking program should take. For example, a return code may indicate that the exit routine's processing was successful and that the invoking program should continue processing. A different return code may indicate that the invoking program should terminate processing. If the invoking program expects specific values for a return code
and the exit returns a value that the invoking program does not recognize,
the invoking program either:
The standard-format exits support a standard set of return codes. Standard return codes describes the return codes for these exits. When you write an exit routine, there are several things you must
consider:
The TSO/E functions and command processors may encounter errors when they invoke an exit or while an exit is processing. The function or command processor then displays an error message to the user. lists the messages that TSO/E displays. The description of each exit in this document includes details about the registers on entry and return, the return codes, parameter lists, and environment considerations. Format of the exit descriptions highlights the format that this document uses to describe each individual exit. |
Copyright IBM Corporation 1990, 2014
|