$GetP

From m204wiki
Revision as of 17:49, 21 July 2014 by Mlarocca (talk | contribs) (Mlarocca moved page $GETP to $GetP: Lower case change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The $GETP function returns the page number currently on the user's terminal or on the output data set specified by a USE command. When the current output device is the normal device (no USE command is in effect), the value returned by $GETP matches the current value of the OUTPNO parameter, which indicates the current output page number. Otherwise, the value returned by $GETP is the current page number on the USE data set. $GETP takes no arguments.