13.1. Setting program exit codes
The setexitcode command sets an exit code for the program that is passed back to the command shell on program termination. This is used to report error codes when running FTP scripts from the command line.
The syntax is
Exhibit 13.1. Syntax of command for setting program exit codes
setexitcode <integer number>;
|
Exhibit 13.2. Example for using the command for setting program exit codes