CRTMSGQ (Create Message Queue) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: Yes >>-CRTMSGQ------------------------------------------------------> .-*CURLIB/------. (1) >--MSGQ(--+---------------+--message-queue-name--)--------------> '-library-name/-' >--+---------------------+--------------------------------------> | .-*NO--. | '-FORCE(--+-*YES-+--)-' >--+---------------------------------------------------------------------------------------+--> | (2) .-3---------------. | '-SIZE(-------+-initial-K-bytes-+--+-----------------------------------------------+--)-' | .-1---------------. .-*NOMAX---------------. | '-+-increment-value-+--+----------------------+-' '-number-of-increments-' >--+--------------------------------------+---------------------> | .-*LIBCRTAUT--------------. | '-AUT(--+-*CHANGE-----------------+--)-' +-*ALL--------------------+ +-*USE--------------------+ +-*EXCLUDE----------------+ '-authorization-list-name-' >--+----------------------+-------------------------------------> | .-*NO--. | '-ALWALR(--+-*YES-+--)-' >--+-----------------------------------------------+------------> | .-*HEX---------------------------. | '-CCSID(--+-*MSG---------------------------+--)-' +-*JOB---------------------------+ '-coded-character-set-identifier-' >--+---------------------------+--------------------------------> | .-*SNDMSG-. | '-MSGQFULL(--+-*WRAP---+--)-' >--+-----------------------------+----------------------------->< | .-*BLANK--------. | '-TEXT(--+-'description'-+--)-'
Notes:
- All parameters preceding this point can be specified in positional form.
- The message queue size must be greater than zero.