Output queues and spooled files
Batch and interactive job processing can result in spooled output records that are to be processed on an output device, such as a printer or diskette drive. These output records are stored in spooled files until they can be processed. There can be many spooled files for a single job.
When a spooled file is created, the file is placed on an output queue. Each output queue contains an ordered list of spooled files. A job can have spooled files on one or more output queues. All spooled files on a particular output queue should have a common set of output attributes, such as device, form type, and lines per inch. Using common attributes on an output queue reduces the amount of intervention required and increases the device throughput.
The following lists some of the parameters on the Create Output Queue (CRTOUTQ) command and what they specify:
- MAXPAGES: Specifies the maximum spooled file size in pages that is allowed to be printed between a starting and ending time of day.
- AUTOSTRWTR: Specifies the number of writers that are started automatically to this output queue.
- DSPDTA: Whether users without any special authority but who do have *USE authority to the output queue can display, copy, or send the contents of spooled files other than their own. By specifying *OWNER for DSPDTA, only the owner of the file or a user with *SPLCTL special authority can display, copy, or send a file.
- JOBSEP: How many, if any, job separator pages are to be printed between the output of each job when the output is printed.
- DTAQ: The data queue associated with this output queue. If specified, an entry is sent to the data queue whenever a spooled file goes to Ready Status on the queue.
- OPRCTL: Whether a user having job control authority can control the output queue (for example, if the user can hold the output queue).
- SEQ: Controls the order in which spooled files will be sorted on the output queue.
- AUTCHK: Specifies what type of authority to the output queue will enable a user to control the spooled files on the output queue (for example, enable the user to hold the spooled files on the output queue).
- AUT: Public authority. Specifies what control users have over the output queue itself.
- TEXT: Text description. Up to 50 characters of text that describes the output queue.
Parent topic:
Spooled filesRelated concepts
Output spooling Default server output queues Spooling writers Summary of spooling writer commands Input spooling Summary of job input commands Considerations for opening inline data filesRelated tasks
Using an inline data file