![]() |
![]() |
|
|
![]() |
![]() |
Performing System Operation Tasks: 900 Series HP 3000 Computer Systems > Chapter 4 Managing Printer Activity![]() Opening and Closing the Spool Queue |
|
In addition to being the parameters for the SPOOLER command, OPENQ and SHUTQ are themselves commands. You may use the OPENQ command to open the spooling queue and the SHUTQ command to close the spooling queue, or use the OPENQ and SHUTQ options with the SPOOLER command. Use the ;SHOW option of the OPENQ command to see information about the state of the queues and devices. The ;SHOW option cannot be used if the @ option is used with OPENQ and SHUTQ. Enter:
The OPENQ command opens the spooling queue for each device and makes it possible for users to create spoolfiles. It does not enable you to print spoolfiles. The OPENQ command may be entered only from the system console unless enabled to other users with the ALLOW or ASSOCIATE commands. Before spoolfiles can print, you must start the spooler, by opening the spooling queues. Open spooling queues which were open at the time of the last SHUTQ, enter:
The above command does not open all spooling queues on the system. You can think of OPENQ @ as a global enabling of all device queues which are already open. Use the SHUTQ option of the SPOOLER command to close the spooling queue and start the spooler process. For example:
The SHUTQ command prohibits anyone from creating new spoolfiles but has no effect on spoolfiles that have already been opened. It does not prevent spoolfiles from printing. To do that, you must stop or suspend the spooler. The SHUTQ and SPOOLER commands may be entered only from the system console unless enabled to other users with the ALLOW or ASSOCIATE commands. If the device is not owned by a spooler process so that spoolfiles can be printed, enter:
Replace nn with your printer's LDEV number. When the spooler is started, the computer sends you this message:
nn is your printer's LDEV number. If you would like to check the status of each printer after you have brought it back up and started a spooler process for it, use the SPOOLER command. Enter:
You see the following on your screen:
Lower the outfence to 1 so that any report assigned an output priority of 2 or higher can be printed. Enter:
Check the list periodically to find out how many spoolfiles remain by entering:
If some of the reports have been assigned the lowest priority, decide whether or not you want to print them. When the computer tells you that there are "NO QUALIFIED SPOOLFILE(S)," they have all been printed. If you want to save an output spoolfile in your account, you may do so by copying the file from the group OUT.HPSPOOL into your account, using the COPY or FCOPY command. Enter:
Onnnn is the output spoolfile name (LISTSPF displays it), and outspfile is the name you give the local copy of the spoolfile. Directories cannot be copied using the COPY command. If the sourcefile or targetfile is actually a directory, an error is returned. You may use the STORE and RESTORE commands to copy spoolfiles to and from tape. It is recommended that you use these commands to move spoolfiles from one system to another so long as both systems have the native mode spooler. Enter:
The ;SHOW parameter produces a listing of files stored. You may enter ;SHOW=OFFLINE for an offline listing. Enter:
Input spoolfiles are private and private spoolfiles cannot be stored. However, because input spoolfiles are used and managed by the system, there is seldom any reason to store them to tape or move them to another system.
|
![]() |
||
![]() |
![]() |
![]() |
|||||||||
|