At any time during an Extract File or Archive File browse session or a Point-and-Shoot session, you can create a report about the contents of the display.
Use the report facility to format and print or save a report that includes some or all displayed rows. To invoke the report facility, use the REPORT command. (Note that the REPORT command is not available while browsing a Compare File.) The following panel prompts for the report specifications.
Figure: Specify Report Options
--------------------- Archive Browse: FOPDEMO.ARCHIVE.FILE -------------------- Command ===> Scroll ===> PAGE Cmd F == Table: FOPDEMO.ORDERS(T1) ========================= 7 OF 19 === MORE>> +--------------------------Specify Report Options-----------------------------+ ¦ ¦ ¦ All rows are printed for the named table. If 'All' is selected, one ¦ ¦ row is printed for each table before and all rows for each table after. ¦ ¦ Leave 'Table Name' blank for a selection list. Use HELP for more ¦ ¦ information. Press ENTER to continue, END or CANCEL to exit report. ¦ ¦ ¦ ¦ Table Name, Tn, or LAST ===> DETAILS >> ¦ ¦ Process All Tables or One ===> A A-All, N-Named Table Only ¦ ¦ Report Title ===> SAMPLE ¦ ¦ Output Type ===> S D-Dataset, S-SYSOUT, J-Job ¦ ¦ If Dataset/Job: DSN ===> ¦ ¦ If Sysout/Job: Class ===> * A - Z, 0 - 9, * ¦ ¦ Destination ===> ¦ ¦ Hold ===> Y-Yes, N-No ¦ ¦ If Job: Review JCL ===> Y-Yes, N-No ¦ ¦ Display Report Parameters ===> N Y-Yes, N-No ¦ +-----------------------------------------------------------------------------+
This panel includes:
This specification, combined with Process All Tables or One, determines the set of data in the report. For more information about the effect of this specification on the contents of the report, refer to Report Contents.
The Table Name and Process All Tables or One specifications determine the contents and layout of the report. For example, assume you are browsing four tables joined for display as follows:
ORDERS
C:DETAILS
P:ITEMS
P:CUSTOMERS (STACKED)
CUSTOMERS and DETAILS are joined at the same level (stacked) and ITEMS is joined to DETAILS. (For an explanation of stacked tables, refer to Multiple Table Display.)
Table Name, Tn, or LAST ===> DETAILS Process All Tables or One ===> N
All the rows from the DETAILS table, which are related to the displayed ORDERS row (the next highest table), are included in the report. No other tables are included in this report.
For example, to generate a report on the DETAILS rows for the currently displayed ORDERS row and the related ITEMS rows for each of the DETAILS rows, specify:
Table Name, Tn, or LAST ===> DETAILS Process All Tables or One ===> A
The report lists the displayed row from the ORDERS table and, one at a time, each DETAILS row with the related ITEMS rows in a control break format.
Table Name, Tn, or LAST ===> ORDERS Process All Tables or One ===> A
If you want to include all information for a single ORDERS row, specify DETAILS as the table name. The ORDERS row is included with all current DETAILS rows, and related ITEMS rows.
The format of rows in the report conforms to the browse or Point-and-Shoot display format. A header identifies the table, column headings are presented before the columns, and the row(s) of data are listed after the headings. You can specify the parameters for the report format.
When there are multiple lower-level tables, the report display is similar to that of the browse or Point-and-Shoot display.
When you indicate Y to Display Report Parameters, prompts for the parameters are displayed. Normally, you establish these parameters once, and use them consistently for all reporting.
Figure: Report Format Parameters
--------------------- Archive Browse: FOPDEMO.ARCHIVE.FILE -------------------- Command ===> Scroll ===> PAGE Cmd F == Table: FOPDEMO.ORDERS(T1) ========================= 7 OF 19 === MORE>> +------------------------Report Format Parameters------------------------+ --+ ¦ ¦ ¦ ¦ Lines per Page ===> 57 0-No Titles, 20-999 ¦ ¦ ¦ Maximum Report Rows per Table ===> blank-Editor Max Fetch Rows ¦ ¦ ¦ Report Line Width ===> 132 80-n, Blank-Maximum ¦ ¦ ¦ Oversized Lines ===> W T-Truncate, W-Wrap Data ¦ ¦ ¦ Maximum Character Column Width ===> Blank-Maximum Display Width ¦ ¦ ¦ New Page per Start Table Row ===> N Y-Yes, N-No ¦ ¦ ¦ Blank Lines between Levels ===> 1 0 - 3 ¦ ¦ ¦ Blank Lines between Rows ===> 0 0 - 3 ¦ ¦ ¦ Blanks between Columns ===> 1 0 - 20 ¦ ¦ ¦ Indent for Subordinate Tables ===> 2 0 - 40 ¦ ¦ ¦ Omit Table Name Heading Line ===> N Y-Yes, N-No ¦ ¦ ¦ Omit Subordinate Table Headings ===> N Y-Yes, N-No ¦ ¦ ¦ Omit Redundant Table Headings ===> N Y-Yes, N-No ¦ ¦ ¦ Show Inactive Multi-Way Tables ===> Y Y-Yes, N-No ¦ ¦ ¦ ¦ ¦ ¦ Press ENTER to continue, END or CANCEL to exit report. ¦ ¦ +------------------------------------------------------------------------+ ¦
The following prompts are displayed on this panel.
The minimum value is 80. A value less than 80 is automatically reset to 80. Use 80 if the report is directed to a data set for subsequent browsing or printing. Leave blank to set the line width equal to the longest row of any table in the report.
If the report is directed to a printer, this value is normally the line length of the printer (132 for most printers), excluding the carriage control byte in the first position of the line.
Leave blank to use the value specified for Columnar Max Display Width on the Editor and Display Options panel.
This value is the minimum number of blanks between any two columns. The report may display more blanks between some columns, depending on the contents of the column and the justification of that data in relation to the column heading.
Specify a value from 0 through 40. This value is subtracted from the Report Line Width to determine the actual number of characters in the indented table that can fit on a line.
The following notes apply to reports: