Contents

Figures
Tables
About this book
What you need to know to understand this book
The base directory
How to use this book
Terms used in this book
Summary of changes
Changes for this edition (SC34-6592-00)
Introduction to WebSphere MQ C++
Features of WebSphere MQ C++
Preparing message data
Reading messages
Writing a message to the dead-letter queue
Writing a message to the IMS bridge
Writing a message to the CICS bridge
Writing a message to the work header
Sample programs
Sample program HELLO WORLD (imqwrld.cpp)
Sample programs SPUT (imqsput.cpp) and SGET (imqsget.cpp)
Sample program DPUT (imqdput.cpp)
Implicit operations
Connect
Open
Reopen
Close
Disconnect
Binary and character strings
Unsupported functions
C++ language considerations
Header files
Methods
Attributes
Data types
Elementary data types
Manipulating binary strings
Manipulating character strings
Initial state of objects
Using C from C++
Notational conventions
WebSphere MQ C++ classes
ImqAuthenticationRecord
Other relevant classes
Object attributes
Constructors
Object methods (public)
Object methods (protected)
ImqBinary
Other relevant classes
Object attributes
Constructors
Overloaded ImqItem methods
Object methods (public)
Object methods (protected)
Reason codes
ImqCache
Other relevant classes
Object attributes
Constructors
Object methods (public)
Reason codes
ImqChannel
Other relevant classes
Object attributes
Constructors
Object methods (public)
Reason codes
ImqCICSBridgeHeader
Other relevant classes
Object attributes
Constructors
Overloaded ImqItem methods
Object methods (public)
Object data (protected)
Reason codes
Return codes
ImqDeadLetterHeader
Other relevant classes
Object attributes
Constructors
Overloaded ImqItem methods
Object methods (public)
Object data (protected)
Reason codes
ImqDistributionList
Other relevant classes
Object attributes
Constructors
Object methods (public)
Object methods (protected)
ImqError
Other relevant classes
Object attributes
Constructors
Object methods (public)
Object methods (protected)
Reason codes
ImqGetMessageOptions
Other relevant classes
Object attributes
Constructors
Object methods (public)
Object methods (protected)
Object data (protected)
Reason codes
ImqHeader
Other relevant classes
Object attributes
Constructors
Object methods (public)
ImqIMSBridgeHeader
Other relevant classes
Object attributes
Constructors
Overloaded ImqItem methods
Object methods (public)
Object data (protected)
Reason codes
ImqItem
Other relevant classes
Object attributes
Constructors
Class methods (public)
Object methods (public)
Reason codes
ImqMessage
Other relevant classes
Object attributes
Constructors
Object methods (public)
Object methods (protected)
Object data (protected)
ImqMessageTracker
Other relevant classes
Object attributes
Constructors
Object methods (public)
Reason codes
ImqNamelist
Other relevant classes
Object attributes
Constructors
Object methods (public)
Reason codes
ImqObject
Other relevant classes
Class attributes
Object attributes
Constructors
Class methods (public)
Object methods (public)
Object methods (protected)
Object data (protected)
Reason codes
ImqProcess
Other relevant classes
Object attributes
Constructors
Object methods (public)
ImqPutMessageOptions
Other relevant classes
Object attributes
Constructors
Object methods (public)
Object data (protected)
Reason codes
ImqQueue
Other relevant classes
Object attributes
Constructors
Object methods (public)
Object methods (protected)
Reason codes
ImqQueueManager
Other relevant classes
Class attributes
Object attributes
Constructors
Destructors
Class methods (public)
Object methods (public)
Object methods (protected)
Object data (protected)
Reason codes
ImqReferenceHeader
Other relevant classes
Object attributes
Constructors
Overloaded ImqItem methods
Object methods (public)
Object data (protected)
Reason codes
ImqString
Other relevant classes
Object attributes
Constructors
Class methods (public)
Overloaded ImqItem methods
Object methods (public)
Object methods (protected)
Reason codes
ImqTrigger
Other relevant classes
Object attributes
Constructors
Overloaded ImqItem methods
Object methods (public)
Object data (protected)
Reason codes
ImqWorkHeader
Other relevant classes
Object attributes
Constructors
Overloaded ImqItem methods
Object methods (public)
Object data (protected)
Reason codes
Appendix A. Compiling and linking
Compilers for WebSphere MQ platforms
AIX(R)
HP-UX
iSeries
Linux(R) (POWER(TM) platform)
Linux(R) (zSeries(R) platform) and Linux (x86 platform)
Solaris
Windows(R) Systems
z/OS
Compiling C++ sample programs for iSeries
Building an application on z/OS
Running sample programs on z/OS
Building and running applications under z/OS UNIX System Services
Appendix B. MQI cross reference
Data structure, class, and include-file cross reference
Class attribute cross reference
ImqAuthenticationRecord
ImqCache
ImqChannel
ImqCICSBridgeHeader
ImqDeadLetterHeader
ImqError
ImqGetMessageOptions
ImqHeader
ImqIMSBridgeHeader
ImqItem
ImqMessage
ImqMessageTracker
ImqNamelist
ImqObject
ImqProcess
ImqPutMessageOptions
ImqQueue
ImqQueueManager
ImqReferenceHeader
ImqTrigger
ImqWorkHeader
Appendix C. Notices
Programming interface information
Trademarks
Index