SQL/MP Reference Manual

HP NonStop SQL/MP Reference Manual523352-013
S-62
Considerations—SQLCI
OUT list-file
specifies the file to which SQLCI writes or displays prompts, messages, listings of
data, and so forth; list-file is a valid Guardian name for a local or remote file.
You can specify a disk file, terminal, process, magnetic tape, line printer, or spooler
collector. If you do not specify an OUT file, SQLCI uses the same OUT file as the
command interpreter—usually the home terminal.
If an existing file contains data, SQLCI appends its output to the existing
information.
NOWAIT
specifies that the command interpreter should not wait while SQLCI runs, but it
should return a command input prompt after sending the startup message to
SQLCI. If you omit this option, the command interpreter pauses while SQLCI runs.
With NOWAIT, you should include SET BREAK_KEY OFF as an sqlci-command
option. This strategy prevents SQLCI from taking control from another process
when you press the Break key.
run-option
is an option of the RUN command, which is described in the TACL Reference
Manual.
sqlci-command
is any SQLCI command. You must terminate each SQLCI command with a
semicolon (;), as shown in the command description. After executing the
commands you enter with this option, SQLCI starts reading from the IN file.
Considerations—SQLCI
TMF must be enabled while you run SQLCI.
In the OSS environment, you can start an SQLCI session by using the gtacl
command. For example, this command begins an interactive SQLCI session:
gtacl -p sqlci
To end the SQLCI session and return to the OSS prompt, use the SQLCI EXIT
command. You can also start an SQLCI session, execute SQLCI commands, and
return to the OSS prompt by using the gtacl command with the -c option, as in this
example:
gtacl -c "sqlci; fileinfo; exit;"
For more information about using the gtacl command in the OSS environment, see
the Open System Services Shell and Utilities Reference Manual or enter this
command at the OSS prompt:
man gtacl