At the INPUT screen, either enter a file name and location and the record access mode (for data processing file use) or a document ID and the volume of the document library. If a document ID is entered, the document summary is displayed, followed by each page of the document. When all pages have been viewed, the user can run again or exit the program.
For document display, WPDISP has only two GETPARMs of note:
INPUT Enter information and press (RETURN) to continue.FILE (blank) The location of a DP file to be LIBRARY (blank) displayed. (Ignore these fields VOLUME (blank) for the DOCUMENT option.
ACCESS RECORD Set to BLOCK to view DP files in block mode. (Ignore for DOCUMENT option.)
DOCUMENT (blank) Document number and library to be DOCVOL [invol] displayed. The correct volume for that library must be entered.
EOJ Press PF(01) to display another file or (16) to exit.
Program bug: the PRINT option does not work.