COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
Usage Considerations:
• Acceptable Values for the Parameter open-type
The value of the open-type parameter determines what type of device the
COBOL_SPECIAL_OPEN_ routine opens. Acceptable values for open-type (after truncation
to an integer value, if necessary) and their meanings are:
MeaningValue
Open a printer or spooler.1
Open a system log file.2
Open a partitioned disk file.3
Open a tape file in the CRE.4
Any other value for open-type causes an error.
Printers or Spoolers
When the parameter open-type has the value 1, the COBOL_SPECIAL_OPEN_ routine opens a
line printer or a print spooler collector. Unlike the COBOLSPOOLOPEN routine,
COBOL_SPECIAL_OPEN_ allows parameters to be defined in the Extended-Storage Section.
Furthermore, COBOL_SPECIAL_OPEN_ provides the only mechanism for suppressing the initial
page ejection that COBOL always provides for jobs destined for printing.
library-reference
is a mnemonic-name in the SPECIAL-NAMES paragraph. This mnemonic-name is associated
with the DLL containing an object copy of COBOL_SPECIAL_OPEN_.
ZCOBDLL Routines 637










