Writing a Page Trailer - 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: Marketing wants the last line on every page of its departmental-sales report to contain a note identifying the information as confidential. This line will begin printing in column one.

To print the page trailer, the following is coded.
Figure 1. JCL and Required Control Statements

The following figure shows the trailer that is generated by the above TRAILER2 parameter.
Figure 2. Sample TRAILER2

Explanation: The TRAILER2 coded above provides a trailer that appears at the bottom of every logical page. The first entry, 5'*', a literal enclosed in single quotes (in this case an asterisk) and a repetition factor (5), specifies that 5 asterisks should be printed. Because no column was specified, the trailer begins in column one. The next entry, 'C O N F I D E N T I A L  I N F O R M A T I O N ', specifies that the literal string enclosed in the single quotes should directly follow the asterisks. Note that the literal string is printed exactly as it is coded within the quotation marks. That is, there is a blank between every letter and two blanks between each word. The trailer’s other entries specify the printing of another five asterisks followed by the literal string 'C O N F I D E N T I A L  I N F O R M A T I O N ' and finally another five asterisks.