The operators bye, exit or quit will cause the calling mtsgmlql shell or mtsgmlql shell script to exit with the exit status specified by the optionnal argument. If the argument is omitted the exit status is set to 0 (The normal exit for a Unix process).
Prototype
null <-- bye | exit | quit [ status ]
The status should be:an integer: The value of the exit status; a boolean: TRUE sets the exit status to 0, FALSE sets the exit status to 1; Example (in a KSH )
2643$ mtsgmlql
Query[1]$ exit;
Goodbye !2644$ echo $?02645$ mtsgmlql
Query[1]$ exit 24;
Goodbye !2646$ echo $?242647$ mtsgmlql
Query[1]$ exit FALSE;
Goodbye !2648$ echo $?12649$