LU 6.2 API Application Programmer's Reference Guide (30294-90008)

Chapter 5 65
Intrinsic Descriptions
Parameter Data Types
Parameter Data Types
Above each intrinsic parameter is a mnemonic that indicates the data
type of the parameter. Data types are defined generically; they are not
language-specific. Table 5-1 maps each mnemonic to its generic
definition, to its definition in COBOL II, and to its definition in
Transact.
Table 5-2 maps each mnemonic to its generic definition, to its definition
in Pascal, and to its definition in C.
Table 5-1 Data Types for COBOL II and Transact
Mnemonic Generic type COBOL II Transact
I16 16-bit signed integer computational 1–4 digits integer 1–4 digits
I32 32-bit signed integer computational 5–9 digits integer 5–9 digits
C character USAGE DISPLAY or group
item
ASCII character
A array USAGE DISPLAY, USAGE
COMP-3, or group item
compound item
Table 5-2 Data Types for Pascal and C
Mnemonic Generic type Pascal C (MPE XL only)
I16 16-bit signed integer shortint or range type
(user-defined)
short
I32 32-bit signed integer integer or range type
(user-defined)
int
C character char char
A array (any type) array (any type) array (any type)