SNAX Connection Manager (SNAX/CM) Manual
LOG Command
SNAX/CM Commands
3–20 097842 Tandem Computers Incorporated
LOG Command The SNAX/CM LOG command records a history of connection manager activities in a
specified file. After the LOG command has been issued, SNAX/CM starts to monitor
lines controlled by the same APPL name. The log information includes messages
about connections, disconnections, and errors. See Appendix B for detailed
descriptions of these messages.
The syntax of the LOG command is as follows:
L[OG] [
logfile-name
[ ! ] ]
return : (OUTFILE)
{ LOG to
logfile-name
| LOG STOPPED
| ERROR MESSAGES }
return : ($RECEIVE)
STRUCT Reply^Receive;
INT Return^Code;
INT Ferror; !file-system error code
logfile-name
if present, specifies the file to which commands, output, and monitor information
are written. If
logfile-name
has the form of a disk-file name and the file does
not exist, an ENTRY-sequence file is created. If the named file is an existing disk
file, the information is appended to the file.
If
logfile-name
is omitted, all logging stops and the log file is closed. Log
messages queued to write to the log file when the LOG command is issued are
written to the file, but pending operations that may generate log messages are
ignored, and subsequent log messages are not logged.
logfile-name
!
causes the specified file to be purged and a new file of the same name to be
created.
return : (OUTFILE)
if received from the IN file, specifies the text message to be returned to the OUT
file. See Appendix B for detailed descriptions of error messages.
return : ($RECEIVE)
if received from the $RECEIVE file, returns a structured buffer that includes any
return codes (described in Appendix B) and file-system error messages.