When I try to run 2 batch jobs at same time which is pointing to same, the second job failed to execute with 2042 ( says object in use)in MQOPEN ..Do i need to specify any other definition here ?
I gave :
COMPUTE W-INPUT-OPENOPTIONS = MQOO-INPUT-SHARED +
MQOO-SAVE-ALL-CONTEXT +
MQOO-FAIL-IF-QUIESCING
CALL 'MQOPEN' USING W-MQ-HCONN
MQOD
W-INPUT-OPENOPTIONS
W-MQ-HOBJ-IN
W-MQ-COMPCODE
W-MQ-REASON
MQOO-SAVE-ALL-CONTEXT +
MQOO-FAIL-IF-QUIESCING
CALL 'MQOPEN' USING W-MQ-HCONN
MQOD
W-INPUT-OPENOPTIONS
W-MQ-HOBJ-IN
W-MQ-COMPCODE
W-MQ-REASON
I was try to execute in developement region .I too have doubt whether developement region will not allow the mq object to use at same time .Is that possible ?