on 04-21-2008 3:30 PM
Hi
When does the end-of-page event triggers.
Thanks
Hi,
Please refer documentation below:
END-OF-PAGE.
Effect
List processing event.
The END-OF-PAGE event is executed whenever processing reaches that area when formatting a list page or if the RESERVE statement detects that there is insufficient space remaining on the current page.
Note
You specify the size of the END-OF-PAGE area of list pages in the LINE-COUNT parameter of the REPORT statement (e.g. REPORT TEST LINE-COUNT 65(3)). If you do not define a size, the END-OF-PAGE area contains no lines and the event END-OF-PAGE is never executed.
If the standard setting LINE-COUNT 0 applies (i.e. no restriction on the number of lines per page), the event END-OF-PAGE is not processed, since no automatic new page follows.
If you explicitly specify a new page with NEW-PAGE, END-OF-PAGE is ignored.
Thanks,
Sriram Ponna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To define a page footer, use the END-OF-PAGE event. This event occurs if, while processing a list page, the system reaches the lines reserved for the page footer, or if the RESERVE statement triggers a page break. Fill the lines of the page footer in the processing block following the event keyword END-OF-PAGE:
Syntax
END-OF-PAGE.
WRITE: ....
to end the processing block following END-OF-PAGE by using an appropriate event keyword, such as START-OF-SELECTION, if you want to start processing the actual list afterwards
regards
Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
en-of-page event will trigger at the end of each page.but,the end ofpage normally will come after 66,000 line.
so,to get the endof page contents u should restrict the page size.for that use the below statement at the begining of ur program.
report <report> line count 10(2).
in this example 10 indicates number of lines per page.2 indicates number of line reserved for end of page contents.
<REMOVED BY MODERATOR>
Dara.
Edited by: Alvaro Tejada Galindo on Apr 21, 2008 1:47 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.