IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Setting MQ open option


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
yogeshwar_ade

Active User


Joined: 31 Aug 2006
Posts: 103
Location: INDIA

PostPosted: Thu Jun 25, 2009 6:55 pm
Reply with quote

Hi Everybody,

Below fields are used to calculate MQ open option but could you please someone give pointer to significance of each field.

In my program, I got requirement to use MQOO-INPUT-AS-Q-DEF and
MQOO-FAIL-IF-QUIESCING field to set MQ open option .....but I didn't know on what basis these field are selected.



10 MQOO-INPUT-AS-Q-DEF PIC S9(9) BINARY VALUE 1.
10 MQOO-INPUT-SHARED PIC S9(9) BINARY VALUE 2.
10 MQOO-INPUT-EXCLUSIVE PIC S9(9) BINARY VALUE 4.
10 MQOO-BROWSE PIC S9(9) BINARY VALUE 8.
10 MQOO-OUTPUT PIC S9(9) BINARY VALUE 16.
10 MQOO-INQUIRE PIC S9(9) BINARY VALUE 32.
10 MQOO-SET PIC S9(9) BINARY VALUE 64.
10 MQOO-BIND-ON-OPEN PIC S9(9) BINARY VALUE 16384.
10 MQOO-BIND-NOT-FIXED PIC S9(9) BINARY VALUE 32768.
10 MQOO-BIND-AS-Q-DEF PIC S9(9) BINARY VALUE 0.
10 MQOO-SAVE-ALL-CONTEXT PIC S9(9) BINARY VALUE 128.
10 MQOO-PASS-IDENTITY-CONTEXT PIC S9(9) BINARY VALUE 256.
10 MQOO-PASS-ALL-CONTEXT PIC S9(9) BINARY VALUE 512.
10 MQOO-SET-IDENTITY-CONTEXT PIC S9(9) BINARY VALUE 1024.
10 MQOO-SET-ALL-CONTEXT PIC S9(9) BINARY VALUE 2048.
10 MQOO-ALTERNATE-USER-AUTHORITY PIC S9(9) BINARY VALUE 4096.
10 MQOO-FAIL-IF-QUIESCING PIC S9(9) BINARY VALUE 8192.
Back to top
View user's profile Send private message
yogeshwar_ade

Active User


Joined: 31 Aug 2006
Posts: 103
Location: INDIA

PostPosted: Thu Jun 25, 2009 7:24 pm
Reply with quote

The same issue with Close option. what is the significance of below fields.

10 MQCO-NONE PIC S9(9) BINARY VALUE 0.
10 MQCO-DELETE PIC S9(9) BINARY VALUE 1.
10 MQCO-DELETE-PURGE PIC S9(9) BINARY VALUE 2.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jun 25, 2009 7:27 pm
Reply with quote

Quote:
but I didn't know on what basis these field are selected.


not sure what you are asking, but this is an example of how options are set:

Code:

COMPUTE MQPMO-OPTIONS     =  MQOO-INPUT-AS-Q-DEF
                           + MQOO-FAIL-IF-QUIESCING
END-COMPUTE
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jun 25, 2009 7:50 pm
Reply with quote

Use this link to access whichever version you are using.
then when you pick the version, for example this is the vsn 7 library,
use the search window on the left side, enter your option and hit go.
The results will list many, look for the single word 'PROPERTIES', then
open this in a new tab. there will be explanations there.

you could download the manuals for easier searching (certainly quicker),
they are PDF's and PDF search is pretty good.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts SCOPE PENDING option -check data DB2 2
No new posts Calling an Open C library function in... CICS 1
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top