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.

Type
*QUAL
Required
Yes
Case
Uppercase
*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

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

DSPDTA Display any file

Type
*CHAR
Required
No
Default
*SAME
Length
6
Case
Uppercase

Allowed values: *SAME, *NO, *YES, *OWNER

JOBSEP Job separators

Type
*INT4
Required
No
Default
*SAME
Range
0 to 9
Case
Uppercase

Suggested / special values: *SAME, *MSG

OPRCTL Operator controlled

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

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.

Type
*ELEM
Required
No
Default
*SAME
List limit
5
Case
Uppercase

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

Type
*INT4
Required
No
Case
Uppercase

Starting time Starting time

Type
*TIME
Required
No
Case
Uppercase

Ending time Ending time

Type
*TIME
Required
No
Case
Uppercase

SEQ Order of files on queue

Specifies the order of spooled files on the output queue.

Type
*CHAR
Required
No
Default
*SAME
Length
7
Case
Uppercase

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.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

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.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

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).

Type
*INT4
Required
No
Default
*SAME
Range
1 to 10
Case
Uppercase

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.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

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

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

CNNTYPE Connection type

Specifies the type of connection with the remote system.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

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.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

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.

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

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.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

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

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

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.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

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.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

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

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

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.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *NONE

*SAME
The value does not change.
*NONE
No image configuration is specified.

INTNETADR Internet address

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME

CLASS VM/MVS class

Type
*CHAR
Required
No
Default
*SAME
Length
1
Case
Uppercase

Suggested / special values: *SAME

FCB Forms Control Buffer

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *NONE, *USRDTA, *PRTF

DESTOPT Destination options

Type
*CHAR
Required
No
Default
*SAME
Length
128
Case
Uppercase

Suggested / special values: *SAME, *NONE, *USRDFNTXT, *NOWAIT

SEPPAGE Print separator page

Type
*CHAR
Required
No
Default
*SAME
Length
5
Case
Uppercase

Allowed values: *SAME, *YES, *NO

USRDFNOPT User defined option

Type
*CHAR
Required
No
Default
*SAME
Length
50
List limit
4
Case
Uppercase

Suggested / special values: *SAME, *NONE

USRDFNOBJ User defined object

Type
*CHAR
Required
No
Default
*SAME
Length
256
Case
Uppercase

Suggested / special values: *SAME, *NONE

USRDRVPGM User driver program

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *NONE

Qualified parts (object, then library; write LIBRARY/OBJECT)

User driver program User driver program

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

SPLFASP Spooled file ASP

Type
*CHAR
Required
No
Default
*SAME
Length
8
Case
Uppercase

Allowed values: *SAME, *SYSTEM, *OUTQASP

TEXT Text 'description'

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *BLANK

DTAQ Data queue

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *NONE

Qualified parts (object, then library; write LIBRARY/OBJECT)

Data queue Data queue

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

AUTCHK Authority to check

Type
*CHAR
Required
No
Default
*SAME
Length
7
Case
Uppercase

Allowed values: *SAME, *OWNER, *DTAAUT

IBM command documentation

Generated from os/cl/catalog/CHGOUTQ.json and os/cl/help/CHGOUTQ.json.