Posted: Thu Jun 26, 2003 7:59 pm Post subject: how to store a message in database
Apprentice
Joined: 29 Oct 2001 Posts: 30
Hi,
Please tell me how to store a complete message in a database in MQSI.
We can use database or warehouse node for this.But is it going to store the whole message including MQMD and application data.
Can anybody give me the sample ESQL or any other means to achieve this.
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
There are two ways to do this,
1. Use existing Warehouse node to store complete or partial message (including MQMD header) into DB. The DB column has to be of BLOB data type. It's little trickier to build message from the retrieved data from db. You could find some discussions around this topic in this forum.
2. Use DB node to store complete or partial BITSTREAM of your message into DB. You could define separate DB fields of appropriate data types to store required fields from MQMD header into DB.
You could find more information about Warehouse node into Using Control Center manual and Control Center help. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum