George, The true page number may not be available. The "working" page number
which is printed on output is available as the value of the PAGENO option. I
maintain a job which creates diagnostic reports, then sets PAGENO to 1 before
printing the distribution reports--this has reduced the number of calls from
people who thought their copy was missing the first few pages.
If you have a sufficiently modern version of SAS, you can read the value of
PAGENO from SASHELP.VOPTION (or is it SASHELP.VOPTIONS?).
Tim Berryhill - Contract Programmer and General Wizard
Frequently at Pacific Gas & Electric Co., San Francisco
The correlation coefficient between their views and
my postings is slightly less than 0
----------------------[Reply - Original Message]----------------------
Sent by:George Kozak <gsk5@CORNELL.EDU>
I am assuming that SAS maintains the true page count in a global variable
(some kind of automatic variable). I know that it is not _PAGE_ and none
of the documentation that I have nor any of the SAS guru's at my site could
tell me what the name of this variable is. Does anyone know?