To create several reports in one batch run, enter the CA OLQ processing statements sequentially in your input data stream. The DISPLAY command places the start of each report on a new page, and resets the page count to 1.
Example:
This batch run creates two reports: one listing the names of employees living in Boston and one listing the names of employees living in Medford:
DEFINE FILE INFILE RECORD EMPLOYEE (1) DICT TESTDICT SET OPTION SPARSE GET ALL SEQ INFILE.EMPLOYEE WHERE EMP-CITY-0415 EQ BOSTON DIS COLS EMP-NAME-0415 EMP-CITY-0415 GET ALL SEQ INFILE.EMPLOYEE WHERE EMP-CITY-0415 EQ MEDFORD DIS COLS EMP-NAME-0415 EMP-CITY-0415
|
Copyright © 2013 CA.
All rights reserved.
|
|