HP 3000 Manuals

Managing the Spooler Process [ Introduction to MPE XL for MPE V System Administrators ] MPE/iX 5.0 Documentation


Introduction to MPE XL for MPE V System Administrators

Managing the Spooler Process 

Use the SPOOLER command to start, stop, suspend, and resume spooler
processes, and release spoolfiles from a spooler process.  The SPOOLER
command may be entered only at the master console unless and to users who
have been allowed it via the ALLOW command.  Users who have been
associated to a spooled device with the ASSOCIATE command may issue the
command for that device.


NOTE Any numbers or devices in the examples in this chapter are used for illustrative purposes only. You would use actual values from your environment.
Start Spooling To create and activate a new spooler process on a spoolable device enter: SPOOLER 6;START Stop Spooling To stop a spooler process enter: SPOOLER 6;STOP Suspend Spooling When a spooler is suspended, spoolfiles may continue to be created but the spooler process will not continue to print files. To suspend spooling enter: SPOOLER 6;SUSPEND;NOW Because ;NOW is the default it may be omitted. To suspend spooling but allow a spoolfile that is currently being printed to finish printing enter: SPOOLER 6;SUSPEND;FINISH [REV END][REV BEG] Resume Spooling To resume spooling enter: SPOOLER 6;RESUME To resume spooling and begin printing back three pages from the current page position enter: SPOOLER 6;RESUME;OFFSET=-3 To resume spooling at the first page (beginning) of the spoolfile enter: SPOOLER 6;RESUME;OFFSET=1 For complete SPOOLER command syntax, refer to the end of this chapter. Suspending and Resuming - Additional Considerations If you enter SPOOLER dev;SUSPEND;NOW;KEEP (NOW and KEEP are defaults) with no offset, the spooler suspends as soon as it processes the command. It reads no more data from the spoolfile, nor does it flush existing data from the file system or device buffers. Later, if you enter SPOOLER dev;RESUME, with no offset, the spooler continues from the point of interruption, and data in the buffer is printed in the normal course of operation. The output appears as though the spooler had never been suspended. If you enter SPOOLER dev;SUSPEND with any other combination of different options (such as NOKEEP or a page offset) the spooler does not suspend immediately. Instead it prints all buffered data first, and then suspends. The buffer may contain a significant volume of data so there may be a time lag from when the command is issued to the time printing actually stops. If you enter SPOOLER dev;SUSPEND;NOW;KEEP (or use NOW and/or KEEP by default) and later resume with an offset specification, the spooler flushes all buffered data to paper before carrying out the offset request. As a result, you may see extra output when you resume. To avoid the extra output, enter your offset when you suspend (which prints buffered data then), not when you resume. For example: SPOOLER 16;SUSPEND;OFFSET=1 : SPOOLER 16;RESUME Obtaining Spooler Process Status The SPOOLER command ;SHOW parameter displays the status of the spooling process. To issue this command enter: SPOOLER 6;SHOW If a device class is specified status is displayed for all spooled devices in the class.[REV END] [REV BEG]


MPE/iX 5.0 Documentation