HP NonStop G-Series User Manual

Page 88

Advertising
background image

Automatic Data Conversion

Data Conversion

6–2

110838 Tandem Computers Incorporated

You can also add your own automatic data conversion functions, or supplement the
logic in the ones provided, by creating a User Hook Library. For details on creating a
User Hook Library, see Section 8, “Extending the Tandem DDE Gateway.”

Table 6-1 shows DDL data types as they are categorized in the Tandem DDL Dictionary
and the automatic data conversion for each data type. The data types are identified in
the DDL Dictionary by the “structure” number field of the DDL DICTOBL file. For
details on the data types and the DICTOBL file, see the Tandem Data Definition
Language (DDL) Reference Manual
.

Table 6-1. Automatic Data Conversion (Page 1 of 2)

DICTOBL
“Structure”

Number

Tandem Data Type

Description

Tandem DDE Gateway Conversion Notes

0

Alphanumeric string

Left justified with trailing spaces. If Bridge TDMGW-C-
STRINGS directive set, then terminating byte of binary-zeros
assumed. Right justified alphanumerics are not supported.

1

Numeric string
unsigned

Right justified with leading zeros.
Negative sign removed on DDE Poke functions.

2

Binary 16 signed

Two's complement binary conversion.

3

Binary 16 unsigned

Two's complement binary conversion.
Negative sign removed on DDE Poke functions.

4

Binary 32 signed

Two's complement binary conversion.

5

Binary 32 unsigned

Two's complement binary conversion.
Negative sign removed on DDE Poke functions.

6

Binary 64 signed

Two's complement binary conversion.

8

Float 32

Not supported.

9

Complex 32*2

Not supported.

10

Float 64

Not supported.

12

Numeric string trailing
embedded sign

Right justified with leading zeros.

13

Numeric string trailing
separate sign

Right justified with leading zeros.

14

Numeric string leading
embedded sign

Right justified with leading zeros.

15

Numeric string leading
separate sign

Right justified with leading zeros.

17

Logical*1

Two's complement binary conversion.
Negative sign removed on DDE Poke functions.

Advertising