IBM Support

CWBDQ: Optimized Data Queue API Return Code and Host Error Messages

Troubleshooting


Problem

This document equates some of the return codes from the IBM iSeries Access data queue APIs to operating system error messages.

Resolving The Problem

Question

How do operating system error messages map to Optimized Data Queue API return codes?

Answer

Following is a list of operating system messages and the client return codes that they map to:

CPF9870CWBDQ_QUEUE_EXISTS
CPF9810CWBDQ_LIBRARY_NOT_FOUND
CPF9801CWBDQ_QUEUE_NOT_FOUND
CPD0078CWBDQ_QUEUE_SYNTAX
CPD0079CWBDQ_LIBRARY_SYNTAX
CPF8147CWBDQ_DAMAGED_QUEUE
CPF2498CWBDQ_INVALID_MESSAGE_LENGTH
CPF9805CWBDQ_QUEUE_DESTROYED
CPF9802, CPF9820CWBDQ_NO_AUTHORITY

All other operating system messages are returned as a CWBDQ_HOST_ERROR. In addition, all the operating system message text can be retrieved using the service handle from the data queue calls.
[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Data Access","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Historical Number

3752322

Document Information

More support for:
IBM i

Software version:
Version Independent

Operating system(s):
IBM i

Document number:
638369

Modified date:
18 December 2019

UID

nas8N1015581

Manage My Notification Subscriptions