STATUS

Indicates that the external routine returns a VMS status value. A successful status, that is one with the low-order bit set, allows the external call to complete successfully. If the value indicates an unsuccessful status, GT.M issues a run-time error message.

If the external call table specifies the STATUS return class, the external call ignores the TYPE keyword. The STATUS return class causes the external call to treat the return register as a longword. Specify the STATUS return class when calling VMS system services or most VMS Run-time library routines.

By default, a return line uses a CLASS of STATUS.