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:
CPF9870 | CWBDQ_QUEUE_EXISTS |
CPF9810 | CWBDQ_LIBRARY_NOT_FOUND |
CPF9801 | CWBDQ_QUEUE_NOT_FOUND |
CPD0078 | CWBDQ_QUEUE_SYNTAX |
CPD0079 | CWBDQ_LIBRARY_SYNTAX |
CPF8147 | CWBDQ_DAMAGED_QUEUE |
CPF2498 | CWBDQ_INVALID_MESSAGE_LENGTH |
CPF9805 | CWBDQ_QUEUE_DESTROYED |
CPF9802, CPF9820 | CWBDQ_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
Was this topic helpful?
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