Troubleshooting
Problem
This document provides an example of configuring a DDM data queue.
Resolving The Problem
Use the following steps to create a DDM data queue able to connect to another IBM i system:
1) Ensure TCP/IP communication is available between the source and target system. See Using the JPing Utility.
2) On the source system, if a relational database directory entry does not already exist (WRKRDBDIRE) to access the target system, use the ADDRDBDIRE command to add one:
ADDRDBDIRE RDB(TargetRDBname) RMTLOCNAME(TargetHostnameorIP *IP)
In the above scenario, "TargetRDBName" is used to define the relational database to the target system.
The "TargetHostnameorIP" must resolve to a valid IP address for the target system.
3) Create the DDM data queue using the CRTDTAQ command. The value for the Relational Database parameter should match the name of the relational database created in Step 2. The value specified in the Remote Data Queue parameter must match a valid Data Queue that already exists on the target system.
In the example below, it is assumed that a data queue exists on the target, called SOMRMTDTAQ.
CRTDTAQ DTAQ(TestDTAQ) TYPE(*DDM) RMTDTAQ(SOMRMTDTAQ) RMTLOCNAME(*RDB) RDB(TargetRDBname)
More robust examples of creating and using data queues are available here:
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CRKAA2","label":"Data Access-\u003EDDM DRDA"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]
Historical Number
342219585
Was this topic helpful?
Document Information
Modified date:
31 October 2022
UID
nas8N1016051