Previous Topic: ArgumentsNext Topic: Default Behavior


Return Code

The following table gives a brief description of each of the return codes.

Return Code

Description

FAILEDDISPLAY

This return value causes the standard error report dialog to be displayed, with return to the previous window.

FAILEDRESTART

This return value suppresses the standard error report and reinvokes the client procedure step that originated the dialog flow. In the case of a failing "procedure step usage," the parent procedure step is returned to at the statement immediately following the Use. For flows designed to return the server's exit state to the client, the exit state set when reinvoking or returning to the client procedure step will be the last value set by the client.

FAILEDTERMINATE

This return value will suppress the standard error report dialog, will not attempt to return to the client procedure step, and will redisplay the client window.

FAILEDDISPLAYCUSTOM

This return value will cause a custom error report dialog to be displayed with NO FORMATTING. The dialog returns to the previous window as in previous releases.