Writing a Report Trailer or Summary - mfx - 3.1

Syncsort™ MFX Programmers Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ Software
Product
Syncsort™ MFX > MFX
Version
3.1
Language
English
Content type
Programmer’s Guide
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Programmers Guide
Topic type
How Do I
Copyright
2024
First publish date
2010
Last edition
2024-08-27
Last publish date
2024-08-27T08:14:56.318001

Example: The final page of marketing’s departmental sales report will contain a note saying that February sales figures include residual 1992 sales not previously recorded. This note will begin on the 21st line of the page and start printing in the 33rd column of the page.

To print the report trailer, the following is coded.

Figure 1. JCL and Required Control Statements

The following figure shows the trailer that is generated by the above TRAILER1 parameter.

Figure 2. Sample TRAILER1

Explanation: The TRAILER1 parameter produces a report trailer or summary that constitutes the final page of a report. Unless otherwise specified, it begins on the first line of the page. The TRAILER1’s initial number-slash (n/) entry, 20/, directs the printer to forward space 20 blank lines before printing on the 21st line. The next entry, a number-colon (c:) entry, is used to center the literal string that follows it by having the string of characters begin printing in the appropriate column. It specifies column 33 as the beginning position for printing the literal string, 'FEBRUARY SALES FIGURES INCLUDE RESIDUAL 1992 SALES NOT PREVIOUSLY RECORDED'.