The LIST NEWPAGE statement sends a page eject request to the RUNLIST file. When the file prints, the page ejects force the following records to print on a new page. For example, the following code causes a page break before the customer data begins to print and after the customer data finishes printing:
LIST NEWPAGE
FOR EACH CUSTOMER
LIST CUSTOMER.CUSTID CUSTOMER.NAME
ENDFOR
LIST NEWPAGE
You can use this technique to separate reports generated by the LIST statement in the same application run.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|