Statement | Meaning |
SCHEMA NAME | Name of schema which contains the realm to be printed (optional) |
REALM NAME | Name of the realm to be printed (mandatory) |
Determine extent of output (optional) | |
DISPLAY PAGE | Print Act-Key-0 page (optional) |
DISPLAY FPA | List FPA entries (optional) |
DISPLAY DBTT | List DBTT entries (optional) |
DISPLAY CALC | Print CALC pages (optional) |
DISPLAY DATA | Print data pages (optional) |
END | Terminate BPRECORD run (mandatory) |
Table 17: BPRECORD statements
BPRECORD combines all DISPLAY statements for a certain realm and sorts them to avoid duplicate printouts.
The statements can extend over several lines. However, each line is limited to 72 characters. A continuation character is not required in multiple-line notation.
For purposes of clarity, PRINT and DISPLAY statements are best separated by a semicolon.
If a period (.) were used for separation, this would signify the end of statements entered for one realm. BPRECORD would then expect a new REALM statement or the END statement to be entered.
After SCHEMA-NAME/REALM-NAME, you must specify at least one DISPLAY statement.
Example for a statement sequence
SCHEMA NAME IS schema-name.
REALM NAME IS realm-name-1.
PRINT WITH SCD;
DISPLAY DATA PAGES ALL PAGES ALL TABLES;
DISPLAY DBTT OF ALL RECORDS.
REALM NAME IS realm-name-2.
PRINT WITH PAGEINDEX;
DISPLAY FPA OF ALL PAGES;
DISPLAY CALC PAGES ALL PAGES ALL RECORDS.
END
Physical selection (page selection)
The syntax elements page-selection and rsq-selection are used in a number of different statements:
page-selection := { ALL PAGES | PAGE {pno-1[ TO pno-2]},... }
ALL PAGES
The total collection of pages defined by the logical selection
PAGE pno-1,...
List of page numbers
PAGE {pno-1 TO pno-2},...
Range from page number pno-1 to page number pno-2, etc.
Logical selection (RSQ selection)
rsq-selection := {
ALL RSQS | RSQ {rsq-1[ TO rsq-2]},... }
ALL RSQS
All record sequence numbers
RSQ rsq-1,...
List of record sequence numbers
RSQ {rsq-1 TO rsq-2},...
Range of record sequence numbers from rsq-1 to rsq-2, etc.