DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 91
REPORT Command
•
The REPORT command produces a schema report when DDL compiles the
schema; REPORT can be placed in a DDL run command or in the schema itself.
•
Only one report file can be open at a time. If you use the REPORT command when
you already have a report file open, DDL closes the current report file before
opening the new report file.
•
The report on each DDL object is written to a separate report page.
•
For each field in the schema, the report provides this information:
°
Level number
°
Name
°
Offset in bytes from the start of a group or record
°
Data type
°
Size
If the field is defined by reference, the report also provides the source definition.
•
If the report destination you specify is an existing file, DDL appends the report to
the contents of the file.
REPORT Command Examples
To produce a schema report on the output device $S.#PRINTER, you could enter the
following noninteractive command:
40> DDL/IN myschema/DICT, REPORT $S.#printer
You could generate the same report interactively as follows:
41> DDL DICT
!?REPORT $S.#printer
!?SOURCE myschema
!EXIT
You do not need the schema to produce a report. You can have DDL generate the
information from an open dictionary. For example:
When printed, the report stored in RPTSRC looks like this:
Dictionary Subvol: $BOOKS1.DDL
Definition NAME created.
Num LV Element Name Offset Data Type & Size
Source Definition
42> DDL
!?DICT
!?REPORT rptsrc !
!OUTPUT DEF name.
!EXIT
Open the dictionary
Open the report file
Send the definition to RPTSRC
VST922.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 ...