Author |
Message
|
daveking |
Posted: Thu Oct 10, 2002 10:36 am Post subject: mqapi question |
|
|
Newbie
Joined: 10 Oct 2002 Posts: 5
|
Hello friends,
I have a question on an MQGET CALL,THIS IS REGARDING COBOL CALL
CALL 'MQGET' USING HCONN
HOBJ
MQMD
MQGMO
MSGLENGTH
MSGBUFFER
DATALENGTH
COMPCODE
REASON.
Can someone explain me the parameters HCONN,HOBJ AND DATALENGTH.
Appreciate your help.
Thanks |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Oct 10, 2002 11:19 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
I can give the .02 cent definition
1) HCONN is the connection handle you recieve from your MQCONN Call
2) HOBJ is a handle to the MQSeries object you have open (normaly a queue)
3) Data length is the length of the mqmd + your data message _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
jhalstead |
Posted: Fri Oct 11, 2002 1:32 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
I thought Datalength was the length of the application data in the message, so without the MQMD..
Checkout the application programming guide and reference for all your MQAPI questions!
These are linked to under the documentation->AP Guide/AP Reference bar at the top of the page
Jamie |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Oct 11, 2002 3:27 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
I stand corrected thanks, I dont know why I thought that. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
jhalstead |
Posted: Fri Oct 11, 2002 5:11 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
mrLinux - I wasn't suggesting you check out the docs! Rather this was a pointer for daveking! |
|
Back to top |
|
 |
|