CRTDTAQ (Create Data Queue) command

The Create Data Queue (CRTDTAQ) command creates a data queue and stores it in a specified library. Data queues are used to communicate and store data used by several programs either within a job or between jobs. Multiple jobs can send or receive data from a single queue.

The CRTDTAQ command can optionally create a distributed data management (DDM) data queue. This is done by specifying *DDM on the TYPE parameter. The DDM data queue is used as a reference data queue by programs to access data queues located on a remote (target) server in the DDM network. Programs on the local (source) server reference a remote data queue by the DDM data queue's name, not by the remote data queue's name. (The DDM data queue name, however, can be the same as the remote data queue name.)

The DDM data queue (on the source server) contains the name of the remote data queue and the name of the remote (target) server on which the remote data queue is located.

Consider the following items when using this command with DDM:

Consider the following restrictions when using this command with DDM:

Related concepts
Control language
Related information
Application Programming Interfaces