QUIT |
Terminate PxPlus Session |
Use the QUIT directive to terminate a PxPlus session and return to the operating system. If the ERR variable's value is not zero (i.e. an error has occurred), then the operating system is informed that an error has occurred within PxPlus. This allows you to do external testing of error conditions.
When you use QUIT in a compound statement, it must be the final directive.
BYE Terminate PxPlus Session
RELEASE Terminate PxPlus Session
if ctl=4 \
then quit
save
quit