skip book previous and next navigation links
go up to top of book: HP OpenVMS System Manager's Manual, Volume 1:... HP OpenVMS System Manager's Manual, Volume 1:...
go to beginning of chapter: Setting Up and Maintaining Queues Setting Up and Maintaining Queues
go to previous page: Designing Queue Environments Designing Queue Environments
go to next page: Creating and Starting QueuesCreating and Starting Queues
end of book navigation links

Planning Your Queue Setup  



You must create queues for users to submit jobs; you must start the queues so that jobs can begin processing. To set up and start queues, follow these steps:

Step Task For More Information
1
Make sure you have started the queue manager and created the queue database.
Starting the Queue Manager and Creating a Queue Database
2
If your configuration includes output queues, set up output devices and create a command procedure to set up the devices on reboot.
Setting Up Output Devices
3
If you plan to use any queue options, such as forms, characteristics, and banner pages, determine the qualifiers needed to specify those options. In addition, define any forms and characteristics you will use before you create queues. (Because of the length of the instructions for this step, the corresponding section in the manual follows the section for step 5.)
Using Queue Options
4
Create and start queues.
Creating and Starting Queues
5
Create a command procedure to perform the necessary setup tasks each time your system reboots.
Restarting Execution Queues on Reboot

Setting Up Output Devices  

Before creating output queues, you must set up the devices to which the queues will direct output.

How to Perform This Task

  1. Install any printers, plotters, and other output devices to which your users will have access. For information, refer to the documentation provided with the hardware.
  2. If you will use LAT printers, create logical LAT ports. You must create a logical LAT port on each service node to which a LAT printer is to be available, and associate the logical port with a physical port or service on the terminal server node. To do so, use the LATCP commands CREATE PORT and SET PORT. For more information, refer to the HP OpenVMS System Management Utilities Reference Manual.
  3. Set device characteristics for line printers and printers attached to terminal ports. To do so, use a series of SET commands. For more information, see Spooling Printers. In step 5, you create a command procedure to set up your devices each time the system reboots. The commands you enter to set device characteristics must be included in this command procedure.
  4. Spool printers. If you use LAT printers, or if you run applications that write output directly to a printer, spool your printers. For more information about spooled printers, see Spooling Printers.

    To spool a printer, use the SET DEVICE/SPOOLED command, as explained in Spooling Printers.
  5. Create a command procedure to set up your device characteristics and spool printers each time the system reboots. You must include the commands you entered in steps 3 and 4 in the command procedure. (Include the commands you entered to set up logical ports in step 2 in your site-specific LAT startup command procedure SYS$MANAGER:LAT$SYSTARTUP.COM.)

    If your configuration is simple, you can add the commands to SYSTARTUP_VMS.COM. If your configuration requires a large number of commands, create a separate command procedure (for example, DEVICE_SETUP.COM), and execute it from SYSTARTUP_VMS.COM. In the command procedure, a SET TERMINAL command must precede a SET DEVICE/SPOOLED command for the same output device.

Example

$ SET PRINTER/TAB/PAGE=66/WIDTH=132/LOWER/FF/NOCR  - 
_$ /FALLBACK/NOWRAP/NOTAB LPA0:[1] 
$ SET TERMINAL/SPEED=9600/PAGE=100/WIDTH=200/DEVICE=LN03/NOBROADCAST -	
_$ /NOECHO/HARDCOPY/NOTYPE_AHEAD/NOFORM/NOWRAP/PASTHRU/PERMANENT LTA3331:[2] 
$ SET DEVICE/SPOOLED=(LPA0,SYS$SYSDEVICE) LPA0:[3] 
$ SET DEVICE/SPOOLED=(LN03_1,SYS$SYSDEVICE) LTA3331:[4] 
This example performs the following actions:
  1. Sets parameters for the line printer device
  2. Sets parameters for the LAT printer device
  3. Spools device and creates queue called LPA0
  4. Spools device and creates queue called LN03_1

go to previous page: Designing Queue Environments Designing Queue Environments
go to next page: Creating and Starting QueuesCreating and Starting Queues