COBOL Manual for TNS and TNS/R Programs

Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs522555-006
13-97
COBOLSPOOLOPEN
library-reference
is a mnemonic-name associated, in the SPECIAL-NAMES paragraph, with either
COBOLLIB or some other object file containing an object copy of
COBOLSPOOLOPEN. The mnemonic-name must be left-justified and can have
trailing spaces.
fd-name
is a file name that identifies the COBOL logical file, described by the FD entry
associated with the spooler. The file name must be left-justified and can have
trailing spaces.
file-status
In HP COBOL, the I-O status data item associated with the fd-name is always
used.
The access mode (see Linkage Section) of file-status must be STANDARD.
location
is a 16-character alphanumeric, PIC X(16), that identifies the string passed to the
spooler as its location parameter. The data item must be at least 16 characters.
If longer, only the first 16 characters are passed to the spooler. The spooler
expects a two-part location name in the format
#gggggggdddddddd
where #ggggggg is the group name, and dddddddd is the destination name.
The # is required. All remaining characters can be letters, digits, or spaces. The
value of location must be left-justified and can have trailing spaces.
The access mode (see Linkage Section) of location must be STANDARD.
form-name
is a 16-character alphanumeric, PIC X(16), that identifies the string passed to the
spooler as its form-name parameter. The data item must be left-justified and be
at least 16 characters. If longer, only the first 16 characters are passed to the
spooler. The only spaces allowed are trailing spaces.
The access mode (see Linkage Section) of form-name must be STANDARD.
Note. The 1985 COBOL standard classifies this parameter as obsolete, so you are
advised not to use it.