Previous Topic: Step 2: Specify Report Definition Attributes for Report 1Next Topic: Example of Report 1 Output


Step 3: Specify Identification Text for Report 1

  1. Obtain a printout of the SYSOUT data set that contains the data you want to split into segments.
  2. Examine the printout. You have to determine how you want to split the first three reports from the segments in the data set, based on region.
  3. Look for unique text (usually a page heading) on each page of each segment. You can use this unique text to identify the beginning and end of the segments.

    You determine that the region numbers on line two or three of each heading and the word "Summary" on the first line of each last page are excellent report identification text strings.

  4. On the Report Definition Attributes panel:
    1. Enter P under Type.
    2. Enter N (NO) under Reus because you do not want to use the segment to identify another report.
    3. Enter EQ under Op.
    4. Enter 2 under Beg Line and 3 under End line because the text string 01 starts at line 2 or line 3 on the page.
    5. Enter 8 under Col because the string 01 (the string you are searching for) starts at the eighth column of the page.
    6. Enter 01 under Text.

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

  5. Press Enter to refresh the Report Definition Attributes panel.
  6. On the second line of the Report Definition Attributes panel:
    1. Enter P under Type.
    2. Enter Y (YES) under (R)eus

      You want to extract regional sales summary segments that are neither contiguous to the segment you just specified nor contiguous to each other.

    3. Enter EQ under Op.
    4. Enter 1 under Line because the string Summary starts at line 1.
    5. Enter 44 under Col because the string Summary starts at column 44 of the page.
    6. Enter SUMMARY under Text.

      CA Deliver ------------- Report Definition Attributes ------ Row 00001 of 00010 Command ===> Scroll ===> PAGE ID ---> U90526-R01 Job ---> U90526 Step ---> SALESTEP Procstep ---> DD ---> REPORTS Type ---> STACK Report Identification Text: Line Column Sel Typ R Op Beg End Beg End Text Cols 001 046 PAG N EQ 2 3 8 '01' P Y EQ 1 44 SUMMARY ******************************* Bottom of Data ********************************

  7. Enter END on the command line and press Enter to display the Report Definition Attributes panel.
  8. Enter END on the command line and press Enter to save the information you entered for report 1 in the database.

You are now ready to specify report definition attributes for report 2.