INF: ISQL Lines That Have Already Been Typed in Can Be Edited

ID: Q67623


The information in this article applies to:

You can edit ISQL lines once you have typed them in by following the instructions below:
  1. You must have a "SET EDITOR=<path>\<editor name>" line in your OS/2 CONFIG.SYS or MS-DOS AUTOEXEC.BAT file. For example:
    SET EDITOR=C:\BIN\M.EXE


  2. Type "ed" at any line number prompt.

    This allows you to edit all of your ISQL lines, back to the last GO. Lines prior to the last GO are, of course, inaccessible for editing.


You can also call your editor from the first line "following" a GO ("1>") command and re-edit your previous query.

You can also use this technique to add any boilerplate lines you want to import.


Keywords          : kbtool SSrvISQL 
Version           : 4.2
Platform          : OS/2 
Issue type        : 

Last Reviewed: March 10, 1999