CRTDTAQ (Create Data Queue) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: Yes .-*CURLIB/------. (1) >>-CRTDTAQ--DTAQ(--+---------------+--data-queue-name--)--------> '-library-name/-' >--+--------------------+---------------------------------------> | .-*STD-. | '-TYPE(--+-*DDM-+--)-' >--+-------------------------------------------+----------------> | (2) (3) | '-MAXLEN(-----------maximum-entry-length--)-' >--+--------------------------+--+--------------------------+---> | (3) .-*NO--. | | (3) .-*FIFO--. | '-FORCE(-------+-*YES-+--)-' '-SEQ(-------+-*LIFO--+--)-' '-*KEYED-' >--+---------------------------------+--------------------------> | (3) (4) | '-KEYLEN(-----------key-length--)-' >--+-----------------------------+------------------------------> | (3) .-*NO--. | '-SENDERID(-------+-*YES-+--)-' >--+-----------------------------------------------------------------------------+--> | (3) .-*MAX16MB------------------. .-16------------------------. | '-SIZE(-------+-*MAX2GB-------------------+--+-initial-number-of-entries-+--)-' '-maximum-number-of-entries-' >--+----------------------------+-------------------------------> | (3) .-*NO--. | '-AUTORCL(-------+-*YES-+--)-' >--+-----------------------------------------------------------------+--> | (5) (6) .-*LIBL/--------. | '-RMTDTAQ(-----------+---------------+--remote-data-queue-name--)-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------------------------------+------------> | (5) (6) | '-RMTLOCNAME(-----------remote-location-name--)-' >--+-------------------------------+----------------------------> | (6) .-*LOC--------. | '-DEV(-------+-device-name-+--)-' >--+----------------------------------------------+-------------> | (6) .-*LOC----------------. | '-LCLLOCNAME(-------+-*NETATR-------------+--)-' '-local-location-name-' >--+------------------------------+-----------------------------> | (6) .-*NETATR---. | '-MODE(-------+-mode-name-+--)-' >--+------------------------------------------+-----------------> | (6) .-*LOC--------------. | '-RMTNETID(-------+-*NETATR-----------+--)-' +-*NONE-------------+ '-remote-network-ID-' >--+--------------------------------------+---------------------> | .-*LIBCRTAUT--------------. | '-AUT(--+-*CHANGE-----------------+--)-' +-*ALL--------------------+ +-*USE--------------------+ +-*EXCLUDE----------------+ '-authorization-list-name-' >--+-----------------------------+----------------------------->< | .-*BLANK--------. | '-TEXT(--+-'description'-+--)-'
Notes:
- All parameters preceding this point can be specified in positional form.
- MAXLEN required if TYPE(*STD) is specified.
- This parameter is valid only when TYPE(*STD) is specified.
- KEYLEN required if SEQ(*KEYED) is specified.
- RMTDTAQ and RMTLOCNAME are required if TYPE(*DDM) is specified.
- This parameter is valid only when TYPE(*DDM) is specified.