Dictionary Manipulation Statements
Data Definition Language (DDL) Reference Manual — 426798-002
8 -7
OUTPUT Statement
If you have changed your dictionary and want to make sure your source files
correspond exactly to the changed dictionary, you can use an OUTPUT * statement:
The following statements cause DDL to generate COBOL85 data descriptions for all
constants in the dictionary, one token type, and two token codes. These descriptions
are written to the open COBOL source file, SPITKN:
16> DDL DICT $spi.tokens
!?COBOL spitkn
!OUTPUT CONSTANT *.
!OUTPUT TOKEN-TYPE assn-typ-status.
!OUTPUT TOKEN-CODE assn-tkn-my-status, assn-tkn-stat-reply.
!EXIT
Rather than specify a list of the particular constants needed by the token type and
token code, this example generates source code for all the constants in the dictionary.
15> DDL
!?DICT
!?DDL ddlsrc !
!OUTPUT * .
!?NODDL
!?FUP fupsrc !
!OUTPUT RECORD * .
!EXIT
Run DDL compiler
Open dictionary
Open and clear DDL source file
Write all entries from the dictionary to DDLSRC
Close DDL source file
Open and clear FUP source file
Write all records from the dictionary to FUPSRC
VST806.vsd
Содержание 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 ...