|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to put data > 4 in MQMD.ApplOriginData field? |
« View previous topic :: View next topic » |
Author |
Message
|
BergerC |
Posted: Mon Jul 26, 2004 1:55 pm Post subject: How to put data > 4 in MQMD.ApplOriginData field? |
|
|
Novice
Joined: 08 Apr 2002 Posts: 15
|
We're attempting to send a file name along with a message (potentially rather long), and the application is using the Java Classes for MQ. We keep getting the JDE error that this field is FINAL, and can't be set.
However the MQ documentations states that "This is an output field for the MQGET call. The length of this field is given by MQ_APPL_ORIGIN_DATA_LENGTH. The initial value of this field is the null
string in C, and 4 blank characters in other programming languages."
The term "initial value", along with the concept that you would query the length of the field, leads me to believe it's variable. BUT - I typically think of the MQMD as fixed length.
Does anyone know if this can be set to a length > 4 bytes?
Thanks very much for any feedback or direction. _________________ _____________
Chris |
|
Back to top |
|
 |
EddieA |
Posted: Mon Jul 26, 2004 2:03 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
The "initial value" is what the field will contain if you create a "default" MQMD and do not populate the field in your code.
Yes, it is fixed length, of 4 characters. The field MQ_APPL_ORIGIN_DATA_LENGTH is a constant, value 4.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|