Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-92
REPORT
REPORT
The [NO]REPORT command:
Opens [closes] a report file
Starts [stops] writing a schema report to the report file
Default: NOREPORT
REPORT
closes any open report file, opens report-destination, and writes a schema
report to that file.
report-destination
is the name of the file or output device to which the report is sent.
Default: home terminal
!
purges the contents of report-destination before opening it, if it exists. If
report-destination does not exist, the exclamation point has no effect.
Without the exclamation point, the DDL compiler appends the new schema report
to the end of report-destination.
NOREPORT
closes the report file.
The REPORT command produces a schema report when the DDL compiler compiles
the schema; REPORT can be placed in a RUN DDL command or in the schema itself.
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, the DDL compiler appends the
report to the contents of the file.
{ REPORT [ report-destination [ ! ] ] }
{ NOREPORT }