Previous Topic: ArgumentsNext Topic: Default Processing


Return Code

TIRTERMA can return three valid status codes to the fail routine. They are used to control what screens will be displayed to the user. For example, if you want to replace the CA Gen error screen with your own and then return to the application screen, and you can modify the code to return the application screen, you can modify the code to return status code 1.

The following table provides a description:

Status Code

Error Message Screen Displayed

Application Screen Displayed

1

No

Yes

2

No

No

0, blank, other (except 1 or 2)

Yes

Yes

The skeleton exit contains example code for each of these status codes with the code for ‘1’ and ‘2’ commented out.