Network Information Services - Table 10
- ~$ filename
executes the script named 'filename'. After the script
is complete, control returns to the calling script.
The query status is set to 'y' if the script was
found.
- ~$$ filename
same as ~$ above, except that the script is executed
in the background, and there is no delay waiting for the
script to complete.
- ~( n cstring
opens a connection on stream number 'n' (1-9). The
connection is defined by 'cstring', which is in the form
of a TNOS 'connect' or 'telnet' command. The current
connection stream is NOT changed by this command.
This sets query status to 'y' if the connection is made,
'n' if not, for use with the "~y" and "~n" control lines.
If the connection is NOT made, the Error variable will
contain the reason.
- ~) n
disconnects the connection on stream number 'n' (1-9).
This sets query status to 'y' if the disconnect is made,
'n' if not, for use with the "~y" and "~n" control lines.
If the disconnect is NOT made, the Error variable will
contain the reason. If 'n' is the current stream, the
stream is reset to stream 0, the user's stream.
- ~# n
changes the current I/O stream to that of stream 'n'
(1-9). Stream 0 is the user's interactive I/O stream.
- ~= n
checks the state of I/O stream 'n' (1-9), and set the
query status to 'y' if the connection is still valid, and
'n' if the connection is invalid or terminated.
Table 10 - Script and Connection Control Lines
Return to the NETWORK
INFORMATION SERVICES document.