Introduction to DDL
Data Definition Language (DDL) Reference Manual — 426798-002
1 -7
Generating Source Code
Generating Source Code
DDL can generate source code for definitions and records in any of the languages DDL
supports: C, COBOL, FORTRAN, Pascal, pTAL, TACL, or TAL. In addition, DDL can
generate source code for constants and SPI token types, token codes, and token maps
in C, COBOL, Pascal, pTAL, TACL, or TAL. The DDL objects, once translated into
source code, are used for a variety of application functions. DDL objects can describe
the data in a database and the data local to an application; messages used for
interprocess communication; units of work for the Transfer Delivery System; and SPI
tokens used to build SPI messages.
For DDL to generate source code, the appropriate language source file must be open.
To open a language source file, you can include one or more C, COBOL, FORTRAN,
Pascal, pTAL, TACL, or TAL commands in the source schema. When DDL compiles
Figure 1-3. Creating Database Files
Dictionary
FUP
Command
File
Edited
FUP
Command
File
DDL
PS TEXT
EDIT
FUP
Database
12> DDL DICT
!?FUP fupfile
!OUTPUT RECORD *.
!EXIT
1
Generate FUP command
file from dictionary
13> TEDIT fupfile
.
.
.
2
14> FUP / IN fupfile
/
3
Create database files
Edit FUP command
file. (optional step)
VST003.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 ...