Intermec 6100 Reference Guide

Page of 328
SECTION 5
Communications and Device Support
PEN*KEY
R
 6100 Computer Programmer’s Reference Guide    5-11
Communications Log File
A log of the communications is output to a text file named NRTLOG.DAT.  The
information contained in this file is described in the following subparagraphs.
BEGS=nnnn
Indicates the start of a TCOM session, where nnnn = session number.  Currently,
the session number is always 1.  (Example:  BEGS=1)
UP=d:\pathname\filename,nnn
Indicates a file upload was attempted, where nnn
 = error code.  (Example:
UP=C:BYTRXN.DAT, 0)
Valid values:
0 indicates a successful upload.
DOWN=d:\pathname\filename,nnn
This parameter indicates that a file download was attempted, where nnn = error
code.  (Example:  DOWN=C:\CUST.DAT, 23)
Valid Values:
0 indicates a successful download.
ENDS=x,m,n
Indicates the end of a TCOM session, where:
x = Session status.  It is a single character code.
m = Stage of the communications session.
n = Protocol error code.
The following table shows the valid character codes for (x).  This is the returned
value from the application (PSROM0C.EXE).
Code for (x)
Meaning
`G'
Good session.
`T'
Unexpected end of transmission.
`H'
An incorrect file header was encountered.
`F'
A file error was encountered.
`L'
Telecom was aborted before the first file header was received.
The following table shows the valid values for (m).
Value for
(m)
Meaning
5
SignĆon started.
4
Data send started.
3
TurnĆaround started.
2
Data receive started.
1
SignĆoff started.
5. Communications
and Device Support