SET.EXIT.STATUS

SET.EXIT.STATUS

Top  Previous  Next

 

The SET.EXIT.STATUS statement sets the final exit status returned by QM to the operating system.

 

 

Format

 

SET.EXIT.STATUS value

 

where

 

valueis the exit status value to be set.

 

 

By default, QM returns an exit status of zero to the operating system on termination. The SET.EXIT.STATUS statement allows an application to return an alternative exit status value to indicate, for example, success or failure. Note that error conditions detected during startup of a QM session return an exit status of 1.

 

See also the SET.EXIT.STATUS command.