PSF for z/OS: User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Example of merging data lines

PSF for z/OS: User's Guide
S550-0435-04

Example of merging data lines

The application in Figure 42 shows three input data records, of which two are to be merged into a single print line.

Figure 42. IEBGENER example of merging two print lines
//MERGEIT JOB
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=A
//SYSIN DD DUMMY
//SYSUT2 DD SYSOUT=S,DCB=(RECFM=FBA,LRECL=80,BLKSIZE=2000)
//SYSUT1 DD *
1THIS IS THE FIRST LINE ON THE PAGE
 THIS IS THE SECOND LINE
+                        - THIS FRAGMENT IS MERGED WITH THE SECOND LINE
/*
//

The resulting printed output lines are:

   THIS IS THE FIRST LINE ON THE PAGE
   THIS IS THE SECOND LINE - THIS FRAGMENT IS MERGED WITH THE SECOND LINE

In the example in Figure 42, to achieve the merged output line, blanks are entered in the third input data record to place "- THIS FRAGMENT IS MERGED WITH THE SECOND LINE" in the correct position.

By using different fonts in lines to be merged, you can highlight or subordinate data in a print line, or you can print different columns of data across a page in different styles or sizes. Or, alternatively, you can select fonts in a page definition and then specify their use for specific fields in a record.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014