$GetP

From m204wiki
(Redirected from $GETP)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.