Intermec 6100 Reference Guide

Page of 328
SECTION 5
Communications and Device Support
5-10    PEN*KEY
R
 6100 Computer Programmer’s Reference Guide
FORMAT=
Defines the format of variableĆlength records whose record types match the preĆ
ceding RECTYPE parameter.  The format of a record consists of the data type
and length of each field within the record, specified as follows:
EXAMPLE:
FORMAT=tnnntnnn. . .
where:
    t = data type
   
nnn = field length, right-justified and zero-padded
Although the NORAND file transfer protocol supports a number of data types,
many of these are specific to the NORAND PL/N language.  For the sake of simĆ
plicity, specify a data type of X (for character) and the record length, which does
not include the record type character.  If you need more information on PL/N file
formats, refer to the NORAND document, Writing TCOM Modules in PL/N for
the HandĆHeld Computer, or refer to the host TCOM manual.
EXAMPLE:
FORMAT=X020
FORMAT=N012X016N004
FILE=
The name of an upload file.  Files are uploaded according to the preceding header
information.  Multiple FILE parameters may follow a single HEADER parameĆ
ter, if the header applies to all the specified files.  (Example:  FILE=BYPRD.DAT)
Minimum NRUPLD.CTL
At a minimum, the NRUPLD.CTL file must specify a session control file, as deĆ
scribed earlier.
HEADER=<DSCNTRL00001X042>
FILE=SCNTRL.DAT
The file SCNTRL.DAT would contain the session control data of the form:
PPPPPPPPPPPPPPTTTTTTTTTTTTTTTTYYMMDDHHMMSS
as described earlier under Session Control File."  This file could have any name.
SCNTRL.DAT is used as an example.
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
5. Communications
and Device Support