X25AM Programming Manual

X3PAD Interface
X25AM Programming Manual527201-001
4-14
OUT Command
When X3PAD reads the data, it enters the data transfer state and sends the data to the
X25AM process for transmission to the network. If X3PAD is in the data transfer state
when the EOF is detected, it closes the obey file and remains in the data transfer state.
If X3PAD cannot open file, it writes a message to the OUT file and continues to read
input from the current input file.
Table 4-11 summarizes potential OBEY error messages.
OUT Command
The OUT command specifies the name of the OUT file. The OUT file name can be
changed or a new OUT file created with the OUT command.
file
is the file to which X3PAD program output is written. It can initially be specified as
the OUT parameter for the RUN command.
If an unrecoverable error occurs while writing to an OUT file, X3PAD stops executing.
Table 4-12 summarizes potential OUT error messages.
I HAVE CREATED AN EDIT FILE NAMED file.
If file does not exist, an EDIT file is created.
I HAVE CLOSED THE OUTPUT FILE file.
I WILL DIRECT SUBSEQUENT OUTPUT TO file.
If an OUT file already exists while processing the new OUT command, the
existing file remains open. No error is reported.
ERROR: I CANNOT OPEN file.
If an OUT file already exists and the new OUT file cannot be opened, a
message is written to the old OUT file. The old OUT file is closed.
Table 4-11. OBEY Command Messages Issued by X3PAD
ERROR: I CANNOT OPEN file.
ERROR: YOU MAY NOT NEST MORE THAN 4 OBEY FILES.
OUT file
Table 4-12. OUT Command Messages Issued by X3PAD
ERROR: I CANNOT OPEN file.
I HAVE CREATED AN EDIT FILE NAMED file.
I WILL DIRECT SUBSEQUENT OUTPUT TO file.