EXIT - Terminate SPFLite Session

Syntax


EXIT | =X

[ NOREOPEN ]

[ END | CANCEL  [ DELETE | PURGE ] ]

               

Operands



NOREOPEN

If NOREOPEN is specified, SPFLite will not save the list of currently open Edit tabs for use at the next normal SPFLite start.  This means the next SPFLite startup will begin in the File Manager tab, with no other tabs being automatically loaded.


Whether SPFLite re-opens files at start-up is controlled by a preferences selection on the Options -> General screen.  The NOREOPEN option will cause the list of currently-open files to be discarded, even if the Re-open checkbox is enabled.  (The files themselves are not discarded - only the list that refers to them is discarded.)


END

If specified (or defaulted) it requests a normal END command be issued for each edit tab as it is closed.  Normal AUTOSAVE processing will be performed.


CANCEL

If CANCEL is specified in place of END, it requests a CANCEL command be issued in each edit tab as it is closed.  If a tab contains modified, unsaved data, you will not be notified, your changes will be discarded.


DELETE

If specified along with the CANCEL operand, then as well as canceling the edit session, the file being edited will be deleted from the file system.


PURGE

If specified along with the CANCEL operand, then as well as canceling the edit session, the file being edited will be permanently deleted from the file system. i.e. it will not be sent to the recycle bin




Description


The EXIT command with no operands will terminate all currently open Tabs and is equivalent to clicking the upper-right  X  box on the SPFLite window's title bar.


It effectively performs an END or CANCEL command on each active tab. If END is issued, the AUTOSAVE processing for each tab takes place as usual.


The command =X is an abbreviation for EXIT.  The = is required, since X by itself is the short form of EXCLUDE.  


Note: In IBM ISPF, the notation =X is used to accomplish a “quick exit”.  IBM terms this notation a "jump function".  In ISPF, jump functions are used to navigate within the hierarchy of Dialog Manager panels.  SPFLite does not have a Dialog Manager, and the =X notation here is the only supported ISPF-compatible jump-function syntax, provided as a convenience.


The command =X happens to use the same syntax as the Set Symbol notation.  Because of this, a Set Symbol named X cannot be used for any purpose.  If a set symbol of X is created in the SET variable screen, the value is saved but cannot be used.


Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor