COBOL Manual for TNS and TNS/R Programs
Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs—522555-006
13-96
COBOLSPOOLOPEN
COBOLSPOOLOPEN accepts an fd-name associated with either a process or a
printer. If the file referred to is a process, it is assumed to be an HP spooler. If the
designated file is a printer, COBOLSPOOLOPEN ignores all spooler-specific
parameters and produces the same results as a HP COBOL OPEN statement.
The general form of the ENTER statement to use COBOLSPOOLOPEN is:
ENTER COBOLSPOOLOPEN
" "
USING
library-reference
fd-name
OF
error-codeGIVING
«file-status»
exclusion
sync-depth
level-3
location
form-name
report-name
copies
page-size
flags
owner
TAL
VST358.vsd