Command reference / spool
CRTOUTQ
Create Output Queue
Creates a new output queue for spooled files. An entry is placed on the queue for each spooled file, and files are written to the output device in order of output priority and the SEQ parameter value.
Allowed environments: *ALL.
Positional parameters: 4.
Parameters
OUTQ
Output queue
Specifies the output queue being created. This is a required parameter. The library qualifier defaults to *CURLIB.
*CURLIB- The job's current library is used; if none is in the library list, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Output queue
Output queue
Library
Library
Suggested / special values:
*CURLIB
DSPDTA
Display any file
Allowed values:
*NO, *YES, *OWNER
JOBSEP
Job separators
Suggested / special values:
*MSG
OPRCTL
Operator controlled
Allowed values:
*YES, *NO
MAXPAGES
Maximum spooled file size
Specifies the largest spooled file, in pages, that may print between a starting and ending time. A larger file is deferred (DFR status) until the ending time. Times are in hhmmss format on a 24-hour clock.
Suggested / special values:
*NONE
*NONE- There is no limit on the size of spooled files printed from this queue.
Elements in order
Number of pages
Number of pages
Starting time
Starting time
Ending time
Ending time
SEQ
Order of files on queue
Specifies the order of spooled files on the output queue.
Allowed values:
*FIFO, *JOBNBR
*FIFO- First in, first out within priority for each file.
*JOBNBR- Entries are sorted by priority, then by the date and time the creating job entered the system.
RMTSYS
Remote system
Specifies the remote system that files are sent to when a remote writer is started to this queue with STRRMTWTR.
Suggested / special values:
*INTNETADR, *NONE, *PASTHR, *NWSA
*NONE- The queue is used only for local printing; STRRMTWTR cannot be used with it.
*PASTHR- The system the user passed through (STRPASTHR) is used; a file not created by a passed-through job is held (HLD).
*INTNETADR- The INTNETADR parameter identifies the system; valid only with CNNTYPE(*IP).
*NWSA- The RMTPRTQ parameter identifies the system; valid only with DESTTYPE(*NDS).
RMTPRTQ
Remote printer queue
Specifies the printer queue on the remote system to which the remote writer sends spooled files.
Suggested / special values:
*USER, *SYSTEM
*USER- The user profile that created the spooled file determines the remote user ID; valid with CNNTYPE(*SNA) or (*USRDFN).
*SYSTEM- The default system printer on the remote system is used; valid with CNNTYPE(*SNA) or (*USRDFN) and DESTTYPE(*OS400) or (*S390).
AUTOSTRWTR
Writers to autostart
Specifies the number of remote writers the system starts automatically for this queue. Ignored for user-created queues with RMTSYS(*NONE).
Suggested / special values:
*NONE
*NONE- No writers are auto-started to this queue.
MSGQ
Queue for writer messages
Specifies the message queue that receives messages created by the remote writer started to this queue. The default is QSYSOPR.
*LIBL- All libraries in the thread's library list are searched until the first match.
*CURLIB- The thread's current library is searched; if none is set, QGPL is searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Queue for writer messages
Queue for writer messages
Suggested / special values:
QSYSOPR
Library
Library
Suggested / special values:
*LIBL, *CURLIB
CNNTYPE
Connection type
Specifies the type of connection with the remote system.
Suggested / special values:
*SNA, *IP, *USRDFN
*SNA- Files are sent using SNADS, which must be configured.
*IP- Files are sent using TCP/IP, which requires the TCP/IP product.
*USRDFN- Files are sent using a user-defined connection.
DESTTYPE
Destination type
Specifies the type of the remote system. A remote writer uses it, with the device type of the spooled file, to choose the send format. A file whose data type the system does not support is held.
Suggested / special values:
*OS400, *OS400V2, *PSF2, *S390, *NDS, *OTHER
*OS400- The destination is an IBM i system; specify this when possible. Valid with *SNA, *IP, or *USRDFN.
*OS400V2- The destination runs OS/400 V2R3 or earlier; valid only with *SNA.
*S390- The destination is a System z; valid with *SNA or *USRDFN.
*PSF2- The destination is a PC running PSF/2; valid only with *IP.
*NDS- The destination is NETWARE4; valid only with *USRDFN.
*OTHER- The destination matches none of the other values, including System/36 and System/38.
TRANSFORM
Host print transform
Specifies whether the host print transform converts *SCS spooled files to ASCII when they are sent to a remote printer queue. Not valid when CNNTYPE is *SNA or *NONE.
Allowed values:
*YES, *NO
*YES- The SCS data streams are transformed.
*NO- The SCS data streams are not transformed.
USRDTATFM
User data transform
Specifies the user-defined program that transforms spooled file data. Valid only when RMTSYS is not *NONE.
Suggested / special values:
*NONE
*NONE- No user-defined data transform program is specified.
*LIBL- All libraries in the thread's library list are searched until the first match.
*CURLIB- The thread's current library is searched; if none is set, QGPL is searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)
User data transform
User data transform
Library
Library
Suggested / special values:
*LIBL, *CURLIB
MFRTYPMDL
Manufacturer type and model
Specifies the manufacturer, type, and model of a printer used with the host print transform or a user data transform program. Prompted only when TRANSFORM(*YES) or a transform program is specified.
Suggested / special values:
*IBM42011, *WSCST
*IBM42011- The IBM 4201-1 Proprinter is used (default).
*WSCST- The value of the WSCST parameter is used.
WSCST
Workstation customizing object
Specifies an object holding attribute tables that customize an ASCII device, such as character presentation, fonts, and control key sequences. Prompted only when TRANSFORM(*YES) or a user data transform program is used.
Suggested / special values:
*NONE
*NONE- No workstation customizing object is specified.
*LIBL- All libraries in the thread's library list are searched until the first match.
*CURLIB- The thread's current library is searched; if none is set, QGPL is searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Workstation customizing object
Workstation customizing object
Library
Library
Suggested / special values:
*LIBL, *CURLIB
IMGCFG
Image configuration
Specifies the image configuration for this output queue. An image configuration object provides transform services for image and print datastream formats. Used only with remote writers.
Suggested / special values:
*NONE
*NONE- No image configuration is specified.
INTNETADR
Internet address
CLASS
VM/MVS class
FCB
Forms Control Buffer
Suggested / special values:
*NONE, *USRDTA, *PRTF
DESTOPT
Destination options
Suggested / special values:
*NONE, *USRDFNTXT, *NOWAIT
SEPPAGE
Print separator page
Allowed values:
*YES, *NO
USRDFNOPT
User defined option
Suggested / special values:
*NONE
USRDFNOBJ
User defined object
USRDRVPGM
User driver program
Suggested / special values:
*NONE
Qualified parts (object, then library; write LIBRARY/OBJECT)
User driver program
User driver program
Library
Library
Suggested / special values:
*LIBL, *CURLIB
SPLFASP
Spooled file ASP
Allowed values:
*SYSTEM, *OUTQASP
TEXT
Text 'description'
Suggested / special values:
*BLANK
DTAQ
Data queue
Suggested / special values:
*NONE
Qualified parts (object, then library; write LIBRARY/OBJECT)
Data queue
Data queue
Library
Library
Suggested / special values:
*LIBL, *CURLIB
AUTCHK
Authority to check
Allowed values:
*OWNER, *DTAAUT
AUT
Authority
Suggested / special values:
*USE, *ALL, *CHANGE, *EXCLUDE, *LIBCRTAUT
Generated from os/cl/catalog/CRTOUTQ.json and os/cl/help/CRTOUTQ.json.