Example 1
These control statements can be used to produce a detailed report on the file occurrence ORDER TRANSACTIONS. The report modules used to run the report are found in the default dictionary; data for the report is taken from the DOCUNWK dictionary.
DATABASE DBNAME=DOCUNWK DREPORT=077 KEY SA-NAM-018 'ORDER TRANSACTIONS'
Example 2
These control statements can be used to produce a file summary report (DREPORT 057) with a parameter listing and a module detail and file detail report without a listing. The report modules used to run the report are in the default dictionary; data for the reports is taken from the DOCUTEST dictionary.
DATABASE DBNAME=DOCUTEST PARAM=LIST DREPORT=57 PARAM=NOLIST DREPORT=6,7
Example 3
These control statements can be used to produce a class report that lists information about the LANGUAGE and DIVISION class occurrences. The key field name for the class report is CLASS-NAME-092; the key values for the report are LANGUAGE and DIVISION. The report modules used to run the report and the data for the report are in the default dictionary.
DREPORT=071 KEY CLASS-NAME-092 'LANGUAGE' KEY CLASS-NAME-092 'DIVISION'
Example 4
These control statements can be used to produce a module report that lists the source code for dictionary report modules 1, 2, and 3. The report modules used to run the reports and the data for the reports are in the CULPDICT dictionary.
DATABASE DICTNAME=CULPDICT DBNAME=CULPDICT DREPORT=076 KEY MOD-NAME-067 'DREPORT 001' KEY MOD-NAME-067 'DREPORT 002' KEY MOD-NAME-067 'DREPORT 003'
Example 5
These control statements can be used to produce a module detail report that describes only those modules created by user CMH and updated on a specified date. The report modules required to run the report are found in the CULPDICT dictionary; data for the report is taken from the default dictionary.
DATABASE DICTNAME=CULPDICT DREPORT=006 SELECT MOD-NAME-067 WHEN PREP-BY-067 EQ 'CMH' AND *DATE-LU-067 EQ 'mm/dd/yy'
What Follows
The remainder of this section describes the standard dictionary reports. The reports are presented by category and entity type. For example, the MODULE summary, MODULE detail, and MODULE key reports are presented together under Basic Entity Reports. Tables 2-2 through 2-6 list the dictionary reports by category; DREPORT Listing table in Appendix D lists the DREPORTs by number.
|
Copyright © 2013 CA.
All rights reserved.
|
|