When you have entered all the required information in a
Database Block editor, you can generate the Database Block.
About this task
The DDL is generated according to the logical information
specified in the description and definition of the Block, in the Data
Elements and Segments which define the tables, views, and indexes
and the physical information entered on the
-GG lines
associated with the Block Definition and Description lines.
Procedure
You can generate a Database Block by:- Using the Database Block generation wizard. From the Design
Explorer view, right-click a Database Block and select . In the generation wizard that opens up, you must indicate:
- The path to the folder in which the generation output file will
be saved.
- The name of the output file.
- An option choice for relational Database Blocks only.
When all these fields are completed, click Finish.
- Or entering a Database Block generation batch command
line from a command prompt.
Results
As a result of the generation, a file is created under the
instance in the
Design Explorer view in the location
indicated in the generation wizard. It is identified by this

icon
and a name of this type:
/LocationName/LibrariesPath/LibraryName/OutputFileName.txt