Use C++

  1. Using C++

  2. Figures

  3. Tables

  4. About this book

  5. What we need to know to understand this book

  6. The base directory

  7. How to use this book

  8. Terms used in this book

  9. Summary of changes

  10. Changes for this edition (SC34-6592-00)

  11. Introduction to WebSphere MQ C++

  12. Features of WebSphere MQ C++

  13. Preparing message data

  14. Reading messages

  15. Writing a message to the dead-letter queue

  16. Writing a message to the IMS bridge

  17. Writing a message to the CICS bridge

  18. Writing a message to the work header

  19. Sample programs

  20. Sample program HELLO WORLD (imqwrld.cpp)

  21. Sample programs SPUT (imqsput.cpp) and SGET (imqsget.cpp)

  22. Sample program DPUT (imqdput.cpp)

  23. Implicit operations

  24. Connect

  25. Open

  26. Reopen

  27. Close

  28. Disconnect

  29. Binary and character strings

  30. Unsupported functions

  31. C++ language considerations

  32. Header files

  33. Methods

  34. Attributes

  35. Data types

  36. Elementary data types

  37. Manipulating binary strings

  38. Manipulating character strings

  39. Initial state of objects

  40. Using C from C++

  41. Notational conventions

  42. WebSphere MQ C++ classes

  43. ImqAuthenticationRecord

  44. Other relevant classes

  45. Object attributes

  46. Constructors

  47. Object methods (public)

  48. Object methods (protected)

  49. ImqBinary

  50. Other relevant classes

  51. Object attributes

  52. Constructors

  53. Overloaded ImqItem methods

  54. Object methods (public)

  55. Object methods (protected)

  56. Reason codes

  57. ImqCache

  58. Other relevant classes

  59. Object attributes

  60. Constructors

  61. Object methods (public)

  62. Reason codes

  63. ImqChannel

  64. Other relevant classes

  65. Object attributes

  66. Constructors

  67. Object methods (public)

  68. Reason codes

  69. ImqCICSBridgeHeader

  70. Other relevant classes

  71. Object attributes

  72. Constructors

  73. Overloaded ImqItem methods

  74. Object methods (public)

  75. Object data (protected)

  76. Reason codes

  77. Return codes

  78. ImqDeadLetterHeader

  79. Other relevant classes

  80. Object attributes

  81. Constructors

  82. Overloaded ImqItem methods

  83. Object methods (public)

  84. Object data (protected)

  85. Reason codes

  86. ImqDistributionList

  87. Other relevant classes

  88. Object attributes

  89. Constructors

  90. Object methods (public)

  91. Object methods (protected)

  92. ImqError

  93. Other relevant classes

  94. Object attributes

  95. Constructors

  96. Object methods (public)

  97. Object methods (protected)

  98. Reason codes

  99. ImqGetMessageOptions

  100. Other relevant classes

  101. Object attributes

  102. Constructors

  103. Object methods (public)

  104. Object methods (protected)

  105. Object data (protected)

  106. Reason codes

  107. ImqHeader

  108. Other relevant classes

  109. Object attributes

  110. Constructors

  111. Object methods (public)

  112. ImqIMSBridgeHeader

  113. Other relevant classes

  114. Object attributes

  115. Constructors

  116. Overloaded ImqItem methods

  117. Object methods (public)

  118. Object data (protected)

  119. Reason codes

  120. ImqItem

  121. Other relevant classes

  122. Object attributes

  123. Constructors

  124. Class methods (public)

  125. Object methods (public)

  126. Reason codes

  127. ImqMessage

  128. Other relevant classes

  129. Object attributes

  130. Constructors

  131. Object methods (public)

  132. Object methods (protected)

  133. Object data (protected)

  134. ImqMessageTracker

  135. Other relevant classes

  136. Object attributes

  137. Constructors

  138. Object methods (public)

  139. Reason codes

  140. ImqNamelist

  141. Other relevant classes

  142. Object attributes

  143. Constructors

  144. Object methods (public)

  145. Reason codes

  146. ImqObject

  147. Other relevant classes

  148. Class attributes

  149. Object attributes

  150. Constructors

  151. Class methods (public)

  152. Object methods (public)

  153. Object methods (protected)

  154. Object data (protected)

  155. Reason codes

  156. ImqProcess

  157. Other relevant classes

  158. Object attributes

  159. Constructors

  160. Object methods (public)

  161. ImqPutMessageOptions

  162. Other relevant classes

  163. Object attributes

  164. Constructors

  165. Object methods (public)

  166. Object data (protected)

  167. Reason codes

  168. ImqQueue

  169. Other relevant classes

  170. Object attributes

  171. Constructors

  172. Object methods (public)

  173. Object methods (protected)

  174. Reason codes

  175. ImqQueueManager

  176. Other relevant classes

  177. Class attributes

  178. Object attributes

  179. Constructors

  180. Destructors

  181. Class methods (public)

  182. Object methods (public)

  183. Object methods (protected)

  184. Object data (protected)

  185. Reason codes

  186. ImqReferenceHeader

  187. Other relevant classes

  188. Object attributes

  189. Constructors

  190. Overloaded ImqItem methods

  191. Object methods (public)

  192. Object data (protected)

  193. Reason codes

  194. ImqString

  195. Other relevant classes

  196. Object attributes

  197. Constructors

  198. Class methods (public)

  199. Overloaded ImqItem methods

  200. Object methods (public)

  201. Object methods (protected)

  202. Reason codes

  203. ImqTrigger

  204. Other relevant classes

  205. Object attributes

  206. Constructors

  207. Overloaded ImqItem methods

  208. Object methods (public)

  209. Object data (protected)

  210. Reason codes

  211. ImqWorkHeader

  212. Other relevant classes

  213. Object attributes

  214. Constructors

  215. Overloaded ImqItem methods

  216. Object methods (public)

  217. Object data (protected)

  218. Reason codes

  219. Appendix A. Compiling and linking

  220. Compilers for WebSphere MQ platforms

  221. AIX

  222. HP-UX

  223. iSeries

  224. Linux (POWER platform)

  225. Linux (zSeries platform) and Linux (x86 platform)

  226. Solaris

  227. Windows Systems

  228. z/OS

  229. Compiling C++ sample programs for iSeries

  230. Building an application on z/OS

  231. Running sample programs on z/OS

  232. Building and running applications under z/OS UNIX System Services

  233. Appendix B. MQI cross reference

  234. Data structure, class, and include-file cross reference

  235. Class attribute cross reference

  236. ImqAuthenticationRecord

  237. ImqCache

  238. ImqChannel

  239. ImqCICSBridgeHeader

  240. ImqDeadLetterHeader

  241. ImqError

  242. ImqGetMessageOptions

  243. ImqHeader

  244. ImqIMSBridgeHeader

  245. ImqItem

  246. ImqMessage

  247. ImqMessageTracker

  248. ImqNamelist

  249. ImqObject

  250. ImqProcess

  251. ImqPutMessageOptions

  252. ImqQueue

  253. ImqQueueManager

  254. ImqReferenceHeader

  255. ImqTrigger

  256. ImqWorkHeader

  257. Appendix C. Notices

  258. Programming interface information

  259. Trademarks

  260. Index