X25AM Programming Manual

X3PAD Interface
X25AM Programming Manual527201-001
4-13
OBEY Command
If an unrecoverable error occurs while writing to a LOG file, the file is closed and a
message is written to the OUT file. Table 4-10 summarizes potential LOG error
messages.
I HAVE CLOSED THE LOG FILE file.
If a log file already exists, it is closed. A message is written to the new log file.
I HAVE CREATED AN EDIT FILE NAMED file.
If the file does not exist, an EDIT file is created. A message is written to the new
file.
THE CURRENT LOG FILE IS file.
When the new log file is opened, a message is written to the new file. If the new file
contains data, new data is appended to it. For example:
ERROR: I CANNOT OPEN file.
THERE IS NO CURRENT LOG FILE.
If the new log file cannot be opened, the message still appears in the OUT file. If
there was an old log file, the message is written to it and then it is closed.
OBEY Command
The OBEY command causes X3PAD to stop reading input from the current input file
(for example, your terminal) and begin to read input from the file you specify.
file
is an EDIT file containing terminal commands.
When an EXIT terminal command is read or the end-of-file (EOF) on the obey file
detected, it is closed. X3PAD resumes reading from the current input file. The current
input file could be another OBEY file (with a maximum of four nested files).
The obey file can contain a CALL, RESUME, or SEND command followed by data.
Table 4-10. LOG Command Messages Issued by X3PAD
ERROR: I CANNOT OPEN file.
I HAVE CLOSED THE LOG FILE file.
I HAVE CREATED AN EDIT FILE NAMED file.
THE CURRENT LOG FILE IS file.
THERE IS NO CURRENT LOG FILE.
OBEY file