OSQL Edit

PURPOSE:  OSQL EDIT, allows interactive and repetitive execution of OSQL and Interactive Command Language (ICL) commands from a command buffer.

Syntax

OSQL EDIT [NEW]

[NEW]

clears current command buffer.

EXAMPLES

*OSQL EDIT
*OSQL EDIT NEW

NOTES:  OSQL EDIT defaults to the callable editor that is specified in the @EDITOR system field (e.g. EDIT/EDT or EDIT/TPU).  The command text is stored in the command buffer.  The commands are executed when the editor is exited.  This allows for batch processing of commands.  The commands will only stay in the command buffer for the current session.  The commands may be re-edited with OSQL EDIT and re-executed.  The command buffer may also be cleared with the NEW parameter to insert new commands into the command buffer.  Commands may be saved permanently by defining a Command Module (CM), inserting the command text, and saving with the editor commands.