On some host computers, JES2 generates job separators (also called Job Start Banners and Job End Banners) for every job printed. In the following example, the host computer was configured to generate one Job Start Banner and one Job End Banner for each job.
The following portion of the sample banner page includes possible search data strings.
1
18
25 |
The **START** string is a good search choice because it probably does not occur anywhere else in the data. It appears in column 1 of line 31 on this sample Job Start Banner. Similarly, the **END** string appears in the same location on the sample Job End Banner.
The job name and class also print on these sample banner pages, so you can extract this information. In the example, the job name appears on line 34 and class appears on line 36. Both fields begin in column 18. The job name can extend to column 25. It is important to remember that in field extraction, the line number of the extracted values is relative to the header search string. For example, to extract the job name and class in this example, specify line 3 and line 5 respectively.
Make sure your search string only appears within the valid range of lines on the banner. For example, assume your search string is **START**, and this line appears on lines 29 and 50 of the banner. If your FCB only specifies 48 lines-per-page, the second instance of the search string will be considered to be on a new page. BARR/Print Ficon will think it is getting a new job, and the previous job will be closed.