Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 57
TYPE Clause
•
The output for a bit map declared in a group structure is FILLER. Both
named bit fields and filler bit fields have the same number of words as the
bit map.
•
For Pascal, DDL generates bit maps as follows:
•
The output for a bit map declared as a field definition is INT (
bit-length
)
or UNSIGNED (
bit-length
). The Pascal compiler allocates the whole
16-bit word for the bit fields and treats the unused leading bits as bit fillers.
•
The output for a bit map declared in a group definition or record is
INT (
bit-length
) or UNSIGNED (
bit-length
) inside a packed record.
•
The output for a bit filler is a bit field whose name is of the form FILLER_
n
;
that is, the output is the same as for other FILLER items. If any item at the
same level as the bit filler has the same generated filler name, then the
filler name ends with the next integer that does not cause the conflict. You
should not try to access bit filler data items or reference the name of a bit
filler.
°
For TACL, DDL generates bit maps as follows:
•
The output for a bit map declared as a field definition is INT or UINT. DDL
ignores
bit-length
.
•
The output for a bit map declared in a group structure is FILLER. Both
named bit fields and filler bit fields have the same number of words as the
bit map.
°
For pTAL or TAL, DDL generates bit maps as follows:
•
The output for a bit map declared as a field definition is INT. DDL ignores
bit-length.
•
The output for a bit map declared in a group definition or a record is
UNSIGNED (
bit-length
) in a STRUCT template.
•
The output for a bit filler is BIT_FILLER
bit-length
in a STRUCT
template.
°
For C, Pascal, pTAL, and TAL, avoid defining level 89 clauses with the same
name in different items. In these languages, two distinctive literals cannot have
the same name, whether the literals are numeric constants or are in an
enumeration item. When generating output for these languages, DDL does not
check for level 89 clauses of the same name.
•
Appendix C, DDL Data Translation
, provides tables listing the C, COBOL,
FORTRAN, Pascal, pTAL, TACL, and TAL data types generated by the TYPE
data-type
clause.
Referring to a Definition of a Different Name. The following points are guidelines for
using the TYPE
def-name
clause:
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...