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 » General IBM MQ Support » MQPUT/MQGET

Post new topic  Reply to topic Goto page Previous  1, 2
 MQPUT/MQGET « View previous topic :: View next topic » 
Author Message
hunterKillerz
PostPosted: Tue Jun 22, 2010 7:57 pm    Post subject: Reply with quote

Apprentice

Joined: 16 Jun 2010
Posts: 40

fjb_saper wrote:
on the Get try using
Dim Buffer as byte[] * CCHBUFFER

and not dim Buffer as String!!!



Its ok, i found out what's the problem already.

Gents,

check this out.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzal.doc/fg11890_.htm


=)
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jun 22, 2010 8:18 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9482
Location: US: west coast, almost. Otherwise, enroute.

Huh? What? This is VB application on a non-Windoze platform?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
hunterKillerz
PostPosted: Tue Jun 22, 2010 8:25 pm    Post subject: Reply with quote

Apprentice

Joined: 16 Jun 2010
Posts: 40

bruce2359 wrote:
Huh? What? This is VB application on a non-Windoze platform?


Yeah, What I'm doing is a VB6.0 application on Window platform.

And that's the problem why i failed to MQPUT byte array, MQGET byte array, take that piece of byte array and write to file using VB6.0.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jun 22, 2010 9:07 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9482
Location: US: west coast, almost. Otherwise, enroute.

Quote:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzal.doc/fg11890_.htm


The title of the web page you cited says:
Coding in Visual Basic
Visual Basic is supported only on Windows.

Was there something in the details of the web page (that I didn't read) that is of interest? If so, copy it here.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
hunterKillerz
PostPosted: Tue Jun 22, 2010 10:25 pm    Post subject: Reply with quote

Apprentice

Joined: 16 Jun 2010
Posts: 40

Quote:

The title of the web page you cited says:
Coding in Visual Basic
Visual Basic is supported only on Windows.

Was there something in the details of the web page (that I didn't read) that is of interest? If so, copy it here.




"To avoid unintended translation of binary data passing between Visual Basic and WebSphere MQ, use an MQBYTE definition instead of MQSTRING. "
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jun 22, 2010 11:02 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

hunterKillerz wrote:
SAFraser wrote:
I wish he had started a different thread for the file transfer questions...

On the connection question: What am I missing here? It appears he has an app running on an MQ server and he is putting into a remote queue (serviced, of course, by a sender/receiver pair). Why are we giving him advice about limiting channel connections? It doesn't matter if he has 1 or 200 or 500 applications putting and getting, he is still using a single channel.

Enlighten me, O Wise Ones.



Yes, you are right, so instead of limiting channel connections, can we limit application connection to QM?


This question is more suited to the part I split out but for the purposes of answering your question (and hopefully SAFraser's) the only way to limit the number of WMQ-aware applications connecting to a queue manager is either to deny them connect privileges (using OAM, although why you'd do this is beyond me - if the application needs to connect to WMQ you need to let it), or don't install them on the server hosting the queue manager. In short, the answer is that it would all be in the planning.

Any further questions on this subject in the other post please...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » MQPUT/MQGET
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.