SPOOL FILE The spooling of a virtual device logi=ally groups its output with
that from similar virtual devices belonging to other users. For examnle, you could spool all printer output that required two-part green stripel as class G. The real printer could then be set up with two-part striped forms and told to process only class G spool
files. If voa issue the command: soooi ODe class q
all sJbsequent output of the virtual unit record at address ODE has a file class G. You can use the SPOOL command to set the
spoolinq =lass of files before they are closed.
If you decile to change the class of a spool file that has been
closed but not selected for processinq by a real device, you can issue
the command:
change printer 1234 class m
and the printer spool file with a spool identification (spoolid) number of 1234 its class changed to M. If you do not remember the spoolid
of the spool file, vou can issue the command: query printer all
and all printer spool files that have not been processed or selected for have a one line description displayed at the terminal. The
information disolayed includes the spoolid number and the filename and filetvpe well as other spool file characteristics.
The H3LD/NOHOLD status is a characteristic of a
determines what happens to the file after it is closed.
spool file that
For example:
soool printer hold
prevents the release of all subsequent printer output spool files to the
real printer. If many files are being generated, of Which only few are reguired to be printed, you can hold all files with the H3LD option. You can then release only the reauired files via the NOHOLD option of the CijANGE OL CLOSE commands.
If, when you are about to close a file, you know that the file is to
be printel, you can issue the CLOSE command with the NOHOLD option:
close printer nohold
The HOLD status of the SPOOL command is overridden for that one file and
it is pla=ed on the printer queue with a NOHOLD status.
If you do not know which files are to be printed until they are all
closed, you can use the QUEFY command: printer
to determine the spoolid numbers of all the closed printer files.
issue the CHANGE command to alter the HOLD status of file
released. For example, if the file with a spoolid of 0246 is
released, enter the command:
change printer 0246 nohold
18 CP Command Peference for General Users Then
to be
to be
To change your printer so that all subsequent files are automatically released to the real printer, enter:
spool printer nohold
If your virtual reader has the default status NOHOLD, input spool
files are deleted from the have been read.. To prevent this, enter: spool reader hold Reader files now held in the system until you issue:
spool nohold
and rereaj the files.
enter:
If you want to delete the files immediately, purqe reader all
Aqain, vou have the option of using the CHANGE command to control the HOLD of -specific reader files via the spoolid number.
The :ONT/NOCONT status of a spooling device controls the
concatenation of files. Since this is a characteristic of a spooling
device, it can be changed only by the SPOOL command. When CONT is in
effect, the spooling device ignores input end-of-file indicators and
output requests. For output devices, the effect is to concatenate multiple output
files one logical spool file.
For input devices the effect is to read files and ignore end-of-file
indicators until all files spooled to the virtual reader have been read. that time, the end-of-file indicator that is reflected to the virtual
machine depends on the EOFINOEOF operand setting of the SPOOL READER
command. EOF results in a unit exception that corresponds to pressing
the end-of-file button on a real card reader. results in a unit
check/intervention required status. VIRTUAL CONSOLE SPOOLING While is usually associated with unit record equipment, VM/370 also spools both input and output data that is displayed on your virtual
console. To start console spooling, enter the command:
spool/console start
If you wish to spool vour console data and not have it displayed on the
terminal, vou can enter:
spool console start noterm however, the (or default not effective until console spooling has been started. does not prevent the printing of: commands entered from CP mode. Also, the NOTERM Commands entered on a display terminal in CMS EDIT mode. Section 3. CP Command Usage 19
Previous Page Next Page