Page Number of the Next Page 

&NEXTPAGE&

This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .

Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.