VMS Help  —  FORTRAN  Intrinsic Procedures, EXIT
  EXIT ([exit-status])

  Class:  Subroutine

  Terminates the program, closes all files, and returns control to
  the operating system.  The optional argument specifies the
  exit-status value of the program.
Close Help