COBOL Manual for TNS and TNS/R Programs

Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs522555-006
13-71
COBOL85^SPECIAL^OPEN and
COBOL_SPECIAL_OPEN_
Acceptable Values for the Parameter open-type
The value of the open-type parameter determines what type of device the
COBOL85^SPECIAL^OPEN or COBOL_SPECIAL_OPEN_ routine opens.
Acceptable values for open-type (after truncation to an integer value, if
necessary) and their meanings are:
Any other value for open-type causes an error.
Printers or Spoolers
When the parameter open-type has the value 1, the COBOL85^SPECIAL^OPEN or
COBOL_SPECIAL_OPEN_ routine opens a line printer or a print spooler collector.
Unlike the COBOLSPOOLOPEN routine, COBOL85^SPECIAL^OPEN or
COBOL_SPECIAL_OPEN_ allows parameters to be defined in the Extended-Storage
Section. Furthermore, COBOL85^SPECIAL^OPEN or COBOL_SPECIAL_OPEN_
provides the only mechanism for suppressing the initial page ejection that COBOL
always provides for jobs destined for printing.
Value Meaning
1 Open a printer or spooler.
2 Open a system log file.
3 Open a partitioned disk file.
4 Open a tape file in the CRE.