Command reference / spool
CHGOUTQ
Change Output Queue
The Change Output Queue (CHGOUTQ) command allows the user to change the attributes of the specified output queue. The display, operator control, order of files, authority to check and data queue attributes can be changed while a writer is active; the other attributes only while no writer is active to the queue. If the output queue has spooled files, SEQ cannot be changed.
Allowed environments: *ALL.
Positional parameters: 4.
Parameters
OUTQ
Output queue
Specifies the output queue whose attributes are changed. This is a required parameter.
*LIBL- All libraries in the job's library list are searched until the first match.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Output queue
Output queue
Library
Library
Suggested / special values:
*LIBL, *CURLIB
DSPDTA
Display any file
Allowed values:
*SAME, *NO, *YES, *OWNER
JOBSEP
Job separators
Suggested / special values:
*SAME, *MSG
OPRCTL
Operator controlled
Allowed values:
*SAME, *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:
*SAME, *NONE
*SAME- The value does not change.
*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:
*SAME, *FIFO, *JOBNBR
*SAME- The value does not change.
*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:
*SAME, *INTNETADR, *NONE, *PASTHR, *NWSA
*SAME- The value does not change.
*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:
*SAME, *USER, *SYSTEM
*SAME- The value does not change.
*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:
*SAME, *NONE
*SAME- The value does not change.
*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.
Suggested / special values:
*SAME
*SAME- The value does not change.
*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
Library
Library
Suggested / special values:
*LIBL, *CURLIB
CNNTYPE
Connection type
Specifies the type of connection with the remote system.
Suggested / special values:
*SAME, *SNA, *IP, *IPX, *USRDFN
*SAME- The value does not change.
*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:
*SAME, *OS400, *OS400V2, *PSF2, *S390, *NETWARE3, *NDS, *OTHER
*SAME- The value does not change.
*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:
*SAME, *YES, *NO
*SAME- The value does not change.
*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:
*SAME, *NONE
*SAME- The value does not change.
*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:
*SAME, *IBM42011, *WSCST
*SAME- The value does not change.
*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:
*SAME, *NONE
*SAME- The value does not change.
*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 the output queue. An image configuration object provides transform services for image and print datastream formats. Used only with remote writers.
Suggested / special values:
*SAME, *NONE
*SAME- The value does not change.
*NONE- No image configuration is specified.
INTNETADR
Internet address
Suggested / special values:
*SAME
CLASS
VM/MVS class
Suggested / special values:
*SAME
FCB
Forms Control Buffer
Suggested / special values:
*SAME, *NONE, *USRDTA, *PRTF
DESTOPT
Destination options
Suggested / special values:
*SAME, *NONE, *USRDFNTXT, *NOWAIT
SEPPAGE
Print separator page
Allowed values:
*SAME, *YES, *NO
USRDFNOPT
User defined option
Suggested / special values:
*SAME, *NONE
USRDFNOBJ
User defined object
Suggested / special values:
*SAME, *NONE
USRDRVPGM
User driver program
Suggested / special values:
*SAME, *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:
*SAME, *SYSTEM, *OUTQASP
TEXT
Text 'description'
Suggested / special values:
*SAME, *BLANK
DTAQ
Data queue
Suggested / special values:
*SAME, *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:
*SAME, *OWNER, *DTAAUT
Generated from os/cl/catalog/CHGOUTQ.json and os/cl/help/CHGOUTQ.json.