Table 1 shows the return codes that
all of the Application Manager exits
support.
Table 1. Return codes that
all Application Manager exits
supportReturn code (decimal) |
Description |
---|
0 |
Successful completion. The Application Manager continues
processing the current application. |
12 |
Error occurred in the exit. Application Manager terminates
the current application. Application Manager issues
an error message if when the application was selected from a panel.
Otherwise, the caller of the Application Manager is responsible
for analyzing the return code and taking the appropriate action. If
a failing exit sets a reason code with a key value of X'03',
this reason code is used as the return code from the Application Manager. (See
the note.) Otherwise, - For failing pre-initialization and pre-display exits, Application Manager sets a
return code of 6
- For failing post-termination and post-display exits, the Application Manager sets a
return code of zero, or whatever is appropriate.
|
16 |
Error occurred in the exit. Application Manager terminates
the current application without issuing an error message. If a
failing exit sets a reason code with a key value of X'03',
this reason code is used as the return code from the Application Manager. (See
the note.)
If your exit sets a return code of 16, you should
consider displaying an informational message to the user. You can
use the PUTLINE service routine to issue an informational message.
See for
more information.
|
Note: For return codes 12 and 16, the Application Manager uses the
exit's reason code as the return code from Application Manager only if
the code is not the same as one of Application Manager's return
codes. Therefore, Application Manager exits
should set unique reason codes. Return codes from the Application Manager are described
in the chapter about
invoking an Information Center Facility application
in .