Previous Topic: Step 2: Specify Report Definition Attributes for Report 1Next Topic: Step 4: Specify Report Definition Attributes for Report 2


Step 3: Specify Identification Text for Report 1

When the system processes a job, each page is evaluated against the report identification text. The system determines whether the page is at the beginning of a segment, the end of a segment, or part of a segment, and the report to which the segment belongs.

As each page in the SYSOUT data set is evaluated, the reports for the job are assembled from the different specified segments.

The reports for the job discussed in this chapter are comprised of exclusive segments. For example, the edited transactions from TRJOB02, the vendor financial history, and the check register, all form unique and exclusive segments, as shown in this illustration.

These portions of SYSOUT data are not selected again for processing in any other report. (Note, however, that it is possible to define reports that contain more than one exclusive segment each.)

  1. Obtain a printout of the SYSOUT data set that contains the data you want to split into segments.
  2. Examine the printout carefully to determine the page where each segment starts and ends.
  3. Look for unique text (usually a page heading) on the first page of each segment that you can use to identify the beginning of that segment.

    When you define exclusive segments, you only have to identify the beginning of a segment; the end of the previous segment is automatically delimited by the beginning of the next one.

  4. Select a unique word or phrase in each title.

    In this example, the first line of the first page of each segment contains a unique title. This title is an excellent text string to use for report identification.

    The targeted text strings are the words EDITED from the first title, VENDOR from the second title, and CHECK from the third.

  5. Enter T on the command line and press Enter to display the Report Identification Text subpanel.

    CA Deliver ------------- Report Definition Attributes ------ Row 00001 of 00010 Command ===> Scroll ===> PAGE ID ---> TRJOB02-R01 Job ---> TRJOB02 Step ---> UPDTSTEP Procstep ---> DD ---> REPTS Type ---> STACK Report Identification Text: Line Column Sel Typ R Op Beg End Beg End Text Cols 001 046 XCL N EQ 2 8 01 ******************************* Bottom of Data ********************************

  6. On the Report Identification Text subpanel:
    1. Enter X under Type.
    2. Leave the (R)eus column blank to use the default (NO); you do not want the segment to be used again to select additional pages.
    3. Enter EQ under Op.
    4. Enter 1 under Line.
    5. Enter 27 under Col because the word EDITED (the word you are searching for) starts in the 27th column.
    6. Enter EDITED under Text.

      CA Deliver ------------- Report Definition Attributes ------ Row 00001 of 00010 Command ===> Scroll ===> PAGE ID ---> TRJOB02-R01 Job ---> TRJOB02 Step ---> UPDTSTEP Procstep ---> DD ---> REPTS Type ---> STACK Report Identification Text: Line Column Sel Typ R Op Beg End Beg End Text Cols 001 046 X EQ 1 27 EDITED *********************** BOTTOM OF DATA ********************************

  7. Press Enter.

    The panel changes as follows (not shown):

  8. Enter END on the command line and press Enter to return to the Report Definition Attributes panel.
  9. Enter END on the command line and press Enter to display the Report Definition Attributes panel for the second report, TRJOB02-R02.

The information you entered for report 1 is entered into the database, and the message REPORT SAVED is displayed in the short message area.