CRTOUTQ (Create Output Queue) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No .-*CURLIB/------. >>-CRTOUTQ--OUTQ(--+---------------+--output-queue-name--)------> '-library-name/-' >--+------------------------+-----------------------------------> | .-*NO----. | '-DSPDTA(--+-*YES---+--)-' '-*OWNER-' >--+------------------------------------------+-----------------> | .-0------------------------. | '-JOBSEP(--+-*MSG---------------------+--)-' '-number-of-job-separators-' (1) >--+----------------------+-------------------------------------> | .-*YES-. | '-OPRCTL(--+-*NO--+--)-' >--+--------------------------------------------------+---------> | .-*NONE------------------------------. | | | .-*LIBL/--------. | | '-DTAQ(--+-+---------------+--data-queue-name-+--)-' +-*CURLIB/------+ '-library-name/-' >--+------------------------------------------------------------------------+--> | .-*NONE------------------------------------------------. | | | .--------------------------------------------------. | | | | V (2) | | | '-MAXPAGES(--+---number-of-pages--starting-time--ending-time------+-+--)-' >--+----------------------+--+-------------------------+--------> | .-*FIFO---. | | .-*OWNER--. | '-SEQ(--+-*JOBNBR-+--)-' '-AUTCHK(--+-*DTAAUT-+--)-' >--+--------------------------------------+---------------------> | .-*USE--------------------. | '-AUT(--+-*CHANGE-----------------+--)-' +-*ALL--------------------+ +-*EXCLUDE----------------+ +-*LIBCRTAUT--------------+ '-authorization-list-name-' >--+------------------------------------+-----------------------> | .-*NONE--------------. | '-RMTSYS(--+-*PASTHR------------+--)-' +-*INTNETADR---------+ +-*NWSA--------------+ '-remote-system-name-' >--+------------------------------------------+-----------------> | (3) .-*USER--------------. | '-RMTPRTQ(-------+-*SYSTEM------------+--)-' '-printer-queue-name-' >--+---------------------------------------+--------------------> | .-*NONE-------------. | '-AUTOSTRWTR(--+-number-of-writers-+--)-' >--+----------------------------------------------------------+--> | (3) .-*LIBL/--------. .-QSYSOPR------------. | '-MSGQ(-------+---------------+--+-message-queue-name-+--)-' +-*CURLIB/------+ '-library-name/-' >--+-------------------------------+----------------------------> | (3) .-*SNA----. | '-CNNTYPE(-------+-*IP-----+--)-' '-*USRDFN-' >--+---------------------------------+--------------------------> | (3) .-*OS400---. | '-DESTTYPE(-------+-*OS400V2-+--)-' +-*S390----+ +-*PSF2----+ +-*NDS-----+ '-*OTHER---' >--+------------------------------+-----------------------------> | (4) .-*YES-. | '-TRANSFORM(-------+-*NO--+--)-' >--+-------------------------------------------------------------------+--> | .-*NONE------------------------------------------. | | | .-*LIBL/--------. | | '-USRDTATFM(--+-+---------------+--data-transform-program-name-+--)-' +-*CURLIB/------+ '-library-name/-' >--+-------------------------------------------------+----------> | (4) .-*IBM42011---------------. | '-MFRTYPMDL(-------+-manufacturer-type-model-+--)-' '-*WSCST------------------' >--+-----------------------------------------------------------------------+--> | .-*NONE---------------------------------------------. | | (4) | .-*LIBL/--------. | | '-WSCST(-------+-+---------------+--workstation-customizing-object-+--)-' +-*CURLIB/------+ '-library-name/-' >--+-------------------------------------+----------------------> | .-*NONE---------------. | '-IMGCFG(--+-image-configuration-+--)-' >--+------------------------------------------+-----------------> | (4) (5) | '-INTNETADR(-----------internet-address--)-' >--+---------------------------------+--------------------------> | (6) .-A-----------. | '-CLASS(-------+-class-value-+--)-' >--+---------------------------------------------+--------------> | (6) .-*NONE---------------------. | '-FCB(-------+-*USRDTA-------------------+--)-' +-*PRTF---------------------+ '-forms-control-buffer-name-' >--+---------------------------------------------+--------------> | (4) .-*NONE-----------------. | '-DESTOPT(-------+-*USRDFNTXT------------+--)-' +-*NOWAIT---------------+ '-'destination-options'-' >--+-----------------------+------------------------------------> | .-*YES-. | '-SEPPAGE(--+-*NO--+--)-' >--+-------------------------------------------------+----------> | .-*NONE------------------------. | | | .--------------------------. | | | | V (7) | | | '-USRDFNOPT(--+---user-defined-option------+-+--)-' >--+----------------------------------------------------------------+--> | .-*NONE---------------------------------------. | | | .-*LIBL/--------. | | '-USRDFNOBJ(--+-+---------------+--object-name--+-*DTAARA-+-+--)-' +-*CURLIB/------+ +-*DTAQ---+ '-library-name/-' +-*FILE---+ +-*PSFCFG-+ +-*USRIDX-+ +-*USRQ---+ '-*USRSPC-' >--+----------------------------------------------------------------+--> | .-*NONE---------------------------------------. | | | .-*LIBL/--------. | | '-USRDRVPGM(--+-+---------------+--user-driver-program-name-+--)-' +-*CURLIB/------+ '-library-name/-' >--+---------------------------+--------------------------------> | .-*SYSTEM--. | '-SPLFASP(--+-*OUTQASP-+--)-' >--+-----------------------------+----------------------------->< | .-*BLANK--------. | '-TEXT(--+-'description'-+--)-'
Notes:
- All parameters preceding this point can be specified in positional form.
- A maximum of 5 repetitions.
- Output queues with RMTSYS not specified as *NONE.
- Output queues with CNNTYPE specified as *IP.
- Output queues with RMTSYS specified as *INTNETADR.
- Output queues with CNNTYPE specified as *SNA.
- A maximum of 4 repetitions.