TRANSFER Programming Manual

Packages and Items
Conventions for Application Interface
A–4 069138, Update 1 to 040970 Tandem Computers Incorporated
The following notes apply to the items in Table A-3:
Item type values 109 through 114 always indicate a package header.
Item types 109 through 114 can contain item data records of record type 120.
If records of type 120 hold TTEXT data containing unprintable ASCII characters,
use an item type of 112 through 114.
Item type 120 and item type 121 should contain only records with a record type of
120. For item type 120, all of the records must contain only printable characters.
Item type 131, PCDATA, can be associated with data that is originating from a
workstation that is transferred to the host computer in BINARY mode.
Item type 130, DATA, can be associated with Tandem-originated unstructured
data in a format that is not an edit format.
Item type 120, TEXT, can also be used to label data that originates from a
workstation that is transferred to the host computer in ASCII mode.
TTEXT items can have embedded ASCII control characters, which are inserted and
used for formatting purposes by the TTEXT text editor.
Packages and Items For any package, your application should set the IS-PKG-HDR flag in the ITEM-
DESCR-FLAG structure to Y. If ITEM-TYPE is any value other than 109 through 114,
the client will then attempt to treat it as an original package (ITEM-TYPE 109) by
default.
Record Types Tandem applications currently handle five types of data records, as designated by the
REC-TYPE field in each record. Table A-4 lists REC-TYPE values.
Table A-4. REC-TYPE Values
Record Type Value in REC-TYPE Field
Subject text 115
Unformatted text 120
Unformatted data 130
CC-recipients 323
BCC-recipients 324
To-recipients 340