Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-40
C_MATCH_HISTORIC_TAL
C_MATCH_HISTORIC_TAL
The [NO]C_MATCH_HISTORIC_TAL command generates [suppresses] C data
structures that are equivalent to pTAL, TAL, and COBOL data structures.
Default: NOC_MATCH_HISTORIC_TAL
C_MATCH_HISTORIC_TAL
generates C data structures that start on odd bytes (equivalent to TAL and COBOL
data structures) for:
Any structure that contains a substructure beginning on an odd byte boundary
Any structure that contains a substructure ending on an odd-byte boundary,
followed by a user-defined item that the DDL compiler would allocate starting
on the odd byte
The DDL compiler allocates data starting on an odd byte for character data only.
The source code for a generated struct is preceded by the statement:
#pragma fieldalign shared2 __struct-name
NOC_MATCH_HISTORIC_TAL
resets the option.
The C_MATCH_HISTORIC_TAL command does not affect the dictionary.
The C_MATCH_HISTORIC_TAL command allows members of structures to be aligned
to a byte or word boundary. If the remaining byte in a two-byte word is not large
enough for the next member, then the DDL compiler assigns the next word aligned
address. This guideline also applies to substructures that are declared inline, using the
first member of the substructure.
The DDL compiler word-aligns substructures declared by template with a typedef or
structure tag. The DDL compiler adds a filler if needed to word-align a referenced
definition.
The DDL compiler word-aligns substructures that refer to other group definitions to
make their length even.
The C source code for a struct generated with matched2 alignment set is preceded by
the statement:
#pragma fieldalign matched2 __struct-name
where __struct-name is the name of the struct.
To suppress the #pragma fieldalign matched2 statements, set the
NOCPRAGMA command.
[NO]C_MATCH_HISTORIC_TAL