beautypg.com

HP NonStop G-Series User Manual

Page 121

background image

Tandem DDE Gateway Dictionary Structure

Extending the Tandem DDE Gateway

110838 Tandem Computers Incorporated

8–19

unsigned int uSubMult[7];

unsigned int uType;

signed char cDecimalPlaces;

signed char cBitFieldOffset;

signed char cBitFieldLength;

char szElement[TDMGW_MAX_ELEMENT_STRLEN+1];

};

Data Elements

ulUserMessageFlag

Flag set using the Bridge directive TDMGW-MESSAGE-
FLAG.

ulUserElementFlag

Flag set using the Bridge directive TDMGW-ELEMENT-
FLAG.

ulConversionFlag

Indicates special conversion conditions with bits being
set: TDMGW_DDEDICT_CFLAG_C_STRINGS =
Terminate alphanumerics with a null byte.

uOffset

Byte offset (starting at zero) of the data element in the
message layout.

uLength

Length of the data element in the message layout.

uSubMult[7]

Array of sizes in bytes of rows of the tables enclosing the
data element. Used when turning table subscripts on
DDE Poke or DDE Request functions into byte offsets.
The array is filled left to right with the highest level table
row size being in uSubMult[0].

uType

Data type (such as an alphanumeric string). See the
“Data Conversion” section of this manual for a listing.
The type numbers are the same as DDL DICTOBL file
“structure” numbers. See the Data Definition Language
(DDL) Reference Manual
for detailed descriptions.

cDecimalPlaces

Number of implied decimal places. If negative, then
indicates scaling for two's complement numbers. See the
Data Definition Language (DDL) Reference Manual for
detail on scaling two’s complement numbers.

cBitFieldOffset

Bit offset (starting at 0, maximum 15) of a DDL bit data
type data element. Value is zero for non-bit type data
elements.

cBitFieldLength

Bit length (minimum 1, maximum 15) of a DDL bit data
type data element. Value is zero for non-bit type data
elements.

szElement

Fully qualified name of the data element (for example,
READ-REPLY.EMPNUM).