ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » mqapi question

Post new topic  Reply to topic
 mqapi question « View previous topic :: View next topic » 
Author Message
daveking
PostPosted: Thu Oct 10, 2002 10:36 am    Post subject: mqapi question Reply with quote

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
View user's profile Send private message
mrlinux
PostPosted: Thu Oct 10, 2002 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jhalstead
PostPosted: Fri Oct 11, 2002 1:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Fri Oct 11, 2002 3:27 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jhalstead
PostPosted: Fri Oct 11, 2002 5:11 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » mqapi question
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.