SECTION 5
Communications and Device Support
5-12 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
Minimum NRUPLD.CTL
At a minimum, the NRUPLD.CTL file must specify a session control file, as
described earlier.
HEADER=<DSCNTRL00001X042>
FILE=SCNTRL.DAT
The file SCNTRL.DAT would contain the session control data of the form
PPPPPPPPPPPPPPTTTTTTTTTTTTTTTTYYMMDDHHMMSS
as described earlier in the
Session Control File
paragraph, page 5Ć5. This file
could have any name. SCNTRL.DAT is used just as an example.
Example NRUPLD.CTL
HEADER=<DSCNTRl00001X042>
FILE=SCNTRL.DAT
HEADER=<DBYPRD 00000X040>
FILE=BYPRD.DAT
HEADER=<DBYTRXN00000X001>
RECTYPE=A
FORMAT=N004N005
RECTYPE=B
FORMAT=X010
RECTYPE=C
FORMAT=N004X005
FILE=BYTR00.DAT
FILE=BYTR01.DAT
file=bytr02.dat
FILE=BYTR03.DAT
HEADER=<DDOSFIL00001X010>FIMAGE.PCX
FILE=IMAGE.PCX
HEADER=<DDOSFIL00001X020>F\RT00001\COMMON.DAT
FILE=COMMON.DAT
HEADER=<DDOSFIL00001X000>
FILE=MYFILE.DAT
Communications Log File
A log of the communications is output to a text file named NRTLOG.DAT.
Information is continually appended to the file until it is deleted. It is not
cleared by PSROM0C.EXE. Your application is responsible for deleting
NRTLOG.DAT. The format and syntax for this information is described in the
following paragraphs.
BEGS=nnnn
Indicates the start of a TCOM session where:
nnnn = Session number (currently always 1)
Example:
BEGS=1
DOWN=d:\pathname\filename.nnn
Indicates that a file download was attempted where: nnn = Error code.
Valid Values:
0
indicates a successful download.
Example:
DOWN=C:\CUST.DAT,23
5. Communications
and Device Support