Previous Topic: Output

Next Topic: Detail Information


Header Information

The report header is eight lines of information in a standard format for all reports. Item A is introduced using the HEADER statement. See the HEADER Statement section in this chapter. Items C, D, E, and F are introduced using the SELECT Statement.

The left-hand items, C and D, start in the first print position. The righthand items, E, F, and G, adjust automatically to the computed print line length. The line length is based on the field length of the selected data elements and the number of blanks preceding each element as requested by you using the DISPLAY statement. See the DISPLAY Statement section in this chapter. Item B is determined by the DISPLAY statement; individual titles can be modified via the TITLE statement. See the TITLE Statement section in this chapter.

Header Line 1

The top-of-page header line displays the report title for a given report as indicated by A. The starting print position for the report title is defined by you on the HEADER statement.

Header Line 2

The operating cost is retrieved from the PARMS statement. If this value is not present or not relevant to a given report, item E is omitted.

Header Line 3

The third line displays the report begin date and run date, items C and F, respectively.

Header Line 4

The fourth line displays the report end date and the report page number, items D and G, respectively. The page number is a four-digit, zero-suppressed value.

Header Lines 5 and 6

These lines are intentionally blank on every report.

Header Lines 7 and 8

These lines display the titles of the selected output data elements at the print positions defined by you on the DISPLAY statement. The titles do not exceed the individual field lengths as indicated in the IMS Interface Output Data Elements Table later in this chapter.