OVERVIEW (INSERT command)
INSERT
includes
a file of commands in a session. INSERT
is especially useful for including a long series of data definition
statements or transformations. Another use for INSERT
is to set up a library of commonly used commands
and include them in the command sequence as they are needed.
INSERT
allows
you to run multiple commands together during a session and can save
time. Complex or repetitive commands can be stored in a command file
and included in the session, while simpler commands or commands unique
to the current analysis can be entered during the session, before
and after the included file.
INSERT
provides
the same basic functionality as INCLUDE
, plus the ability to:
- Insert files that use either batch or interactive syntax rules.
- Control treatment of error conditions in inserted files.
- Change the working directory to the directory containing an inserted file.
Limitations
The maximum line length for a command syntax file run via the INSERT
command is 256 characters. Any characters
beyond this limit are truncated.