The EXIT (abbreviated EX) command terminates all action in the editor and saves a copy of the MAIN text buffer in the output file. Format: EXIT [file-spec] [/SEQUENCE:[init:incr]] [/SAVE] If you omit the file specification, the output file name from the command line that invoked EDT is used. If no output file name has been specified, and if /READ_ONLY and /NOOUTPUT have not been specified, then the input file name is used.
1 /SAVE
When you use the /SAVE qualifier, the journal file is saved. The journal file is called 'name.JOU', where name is the output file name from the command line. For information about the journal facility, see HELP JOURNAL.
2 /SEQUENCE
Format: /SEQUENCE[:init:incr] When you use the /SEQUENCE option, the output file is in VFC (variable with fixed control) format, and line numbers are written in the control field. The values of both 'init' and 'incr' must be less than 65536. If you set init and incr, the file is renumbered starting with the number you choose for init, and the lines are incremented by the number you choose for incr. Otherwise, the line numbers assigned by EDT are written. These line numbers are truncated to integers and taken modulo 100000, with a maximum value of 65535.