The following is an example of a WFL job that runs PRINTCOPY:
BEGIN JOB; RUN SYSTEM/PRINTCOPY (<integer>); END JOB
The <integer> variable is a value that determines which file and how much of the file is to be printed. If <integer> is zero, the file selected is HARDCOPY. Otherwise, the file selected is HARDCOPIES/<file number> where <file number> is the absolute value of <integer>. If a HARDCOPIES/<file number> file is selected, it will be removed after being printed.
If a negative <integer> is specified, only previously unprinted portions of the file are printed. Otherwise the entire file is printed. When HARDCOPY initiates PRINTCOPY in response to a HI command, HARDCOPY passes a negative value to PRINTCOPY.
The following example specifies that the file HARDCOPIES/3 is to be printed:
RUN SYSTEM/PRINTCOPY (3)