ContentsIndexPreviousNext

SPOOL_FILE

This variable allows you to hold a "pipe" open when you close the named file with the CLOSE WITH NO REWIND verb. This enables you to gather multiple reports into a single job for the print spooler.

The value given to the SPOOL_FILE variable must be the ASSIGN name of a sequential file that has been attached to a pipe. The pipe must be attached to the ASSIGN name in the COBOL configuration file via the "-P" option. Only one pipe can be held open in this manner.