The MPE/iX (version B.40.00 and later versions) native mode spooler (NMS) is a complete native mode replacement of the previous MPE XL spooling subsystem. The utility SPOOK no longer exists. Instead, SPOOK commands are replaced with command interpreter (CI) commands, the PRINTSPF and SPIFF utilities, the SPFXFER utility, STORE, RESTORE, and editor subsystems.
The NMS commands include the following:
The SPOOLER command may be entered only at the master console unless allowed to other users through the ALLOW and ASSOCIATE commands. The LISTSPF and SPOOLF commands work according to your capabilities and whether you are the console user or not. Chapter 2 has tasks and examples which demonstrate this.
The MPE/iX commands that can be used with spool files are the following:
BUILD OPENQ
COPY OUTFENCE
FILE PURGE
FORMSALIGN RENAME
JOB SHUTQ
LISTEQ
|
The following MPE/iX commands available for spool file/spooler control, prior to version A.40.00, are still supported and function almost exactly the same as they always have:
STARTSPOOL OPENQ
STOPSPOOL SHUTQ
SUSPENDSPOOL OUTFENCE
RESUMESPOOL HEADON
ALTSPOOLFILE HEADOFF
DELETESPOOLFILE
SHOWIN
SHOWOUT
|
This appendix provides a series of tasks and the appropriate MPE/iX commands. The examples illustrate the NMS commands and other CI commands. The complete syntax for the NMS commands is in chapter 4.
NMS spool files are variable-length files that are identified by a special file type. Input and output spool files are automatically created in the groups IN.HPSPOOL and OUT.HPSPOOL, respectively. An input spool file is linked to the spooling subsystem until the job has logged off, been aborted, or the DATA file has been read by a user process.
An output spool file is linked to the spooling subsystem until the last copy has been printed. Then the spool file is deleted unless it is saved with the command SPOOLF ...;ALTER ;SPSAVE. It is also possible to save a spool file by using a file equation (the FILE command with the ;SPSAVE option) or by using the ;SPSAVE option with the JOB command.
Two spool file directories, referred to collectively as the SPFDIR, contain all information about input and output spool files. A spool file is linked to the spooling subsystem if the spool file has an entry in the SPFDER.
Because spool files are ordinary disk files, they are not lost during system boots. File recovery is no more complicated for spool files than for other permanent disk files.
A new checkpoint file is a companion to an output spool file. The checkpoint file helps the spooler recover from device problems like power failure and paper jams. When a spool file does not print completely, the next spooler process that prints it on the same device uses the checkpoint file.
You may designate an output spool file as a private file, a file that other users can not access. You cannot save or copy private files, but you may purge, print, or (within limits) alter them by using the SPOOLF command.