HP NonStop G-Series User Manual

Page 81

Advertising
background image

Preparing Your Data Definition Language (DDL) Source

The Tandem DDE Gateway Bridge Program

110838 Tandem Computers Incorporated

5–3

Syntax

TDMGW-DDEALIAS=AliasName

Default

Data element name has no alias.

TDMGW-MESSAGE-FLAG

Directive

This directive provides a numeric flag that you want associated with all data elements
in a message structure. You can use this flag in a User Hook Library to implement
application-specific automatic data conversions. Specify an integer number between 0
and 4294967294 for the value of this directive. Do not use commas in the number.

Specify this directive only before a DDL DEF that defines a complete message layout.

Syntax

TDMGW-MESSAGE-FLAG=number

Default

0 (zero)

TDMGW-ELEMENT-FLAG

Directive

This directive provides a numeric flag that you want associated with an individual
data element in a message structure. You can use this flag in a User Hook Library to
implement application-specific automatic data conversions. Specify an integer
number between 0 and 4294967294 for the value of this directive. Do not use commas
in the number.

Specify this directive only before a data item within a DDL DEF.

Syntax

TDMGW-ELEMENT-FLAG=number

Default

0 (zero)

Example DDL Source File

The following is a simple example of a DDL source file that includes directives for the
Bridge program embedded as comments:

?DICT!

?COMMENTS

* TDMGW-IPC, TDMGW-C-STRINGS, TDMGW-MESSAGE-FLAG=1

DEF EMPLOYEE-READ-REPLY.

03 EMPNUM PIC 9(4) COMP.

* TDMGW-DDEALIAS=FN, TDMGW-ELEMENT-FLAG=27

03 FIRST-NAME PIC X(15).

* TDMGW-DDEALIAS=LN, TDMGW-ELEMENT-FLAG=28

03 LAST-NAME PIC X(20).

END

Advertising