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 » Q for input and output

Post new topic  Reply to topic
 Q for input and output « View previous topic :: View next topic » 
Author Message
Shreyu
PostPosted: Mon Jan 13, 2003 10:31 am    Post subject: Q for input and output Reply with quote

Newbie

Joined: 19 Dec 2002
Posts: 5
Location: Dallas TX.

Hello,
Can any body tell me what is option on OS390/MQ5.2v for opening a QUEUE in INPUT and OUTPUT mode.
I see MQOO-INPUT and MQOO-OUTPUT, but no variable with IN - OUT mode.

Thanks in advance.
Shreyu
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Jan 13, 2003 11:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

You OR the two fields together to indicate that you won't both input and output. If you look at the cmqc.h file, you can see that the values are bits.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Shreyu
PostPosted: Mon Jan 13, 2003 11:43 am    Post subject: Reply with quote

Newbie

Joined: 19 Dec 2002
Posts: 5
Location: Dallas TX.

Thanks for the reply.
Please let me know am I understood right .....?
Can I use the below code....
COMPUTE W13-OPENOPTIONS EQUAL MQOO-OUTPUT + MQOO-INPUT + MQOO-FAIL-IF-QUIESCING.

CALL 'MQOPEN' USING W03-HCONN
MQOD
W13-OPENOPTIONS
W13-HOBJ
W13-COMPCODE
W13-REASON.

And can I do MQGET and MQPUT in sequence........?

Thanks in advance.
Shreyu.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Jan 13, 2003 6:17 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

That will work.
(Make sure you are opening a local queue. You will get an options error if you try to open a remote queue def for INPUT)
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Shreyu
PostPosted: Tue Jan 14, 2003 6:45 am    Post subject: Reply with quote

Newbie

Joined: 19 Dec 2002
Posts: 5
Location: Dallas TX.

Yes it did work.

Thank you all.
Shreyu.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Q for input and output
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.