HELPLIB.HLB  —  System Services, $EXIT
    Initiates image rundown when the current image in a process
    completes execution. Control normally returns to the command
    interpreter.

    Format

      SYS$EXIT  [code]

    C Prototype

      int sys$exit  (unsigned int code);

1  –  Argument

 code

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       read only
    mechanism:    by value
    Longword value to be saved in the process header as the
    completion status of the current image. If you do not specify
    this argument in a macro call, a value of 1 is passed as the
    completion code for VAX MACRO and VAX BLISS-32, and a value of
    0 is passed for other languages. You can test this value at the
    command level to provide conditional command execution.
Close Help