To use your host text
editor with SAS, complete the following steps:
-
Specify the command
required to invoke your editor with the EDITCMD system option.
-
Invoke the editor as
needed with the HOSTEDIT command.
The HOSTEDIT command
passes data from a SAS window to the host editor. When you save data
in the host editor, the data is copied back into the SAS window if
the window can be written to.
After you return to
the SAS text editor window, you can issue the UNDO command to undo
all of the changes that you made with your host editor. You must
issue the UNDO command a second time to return to the state of the
window before the HOSTEDIT command was issued. If you issue the HOSTEDIT
command in a read-only window, you can save your editing changes to
an external file, but the SAS text editor window remains unchanged.