Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Application already connected to queue Manager

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES
Author Message
k.junaid83

New User


Joined: 19 Apr 2006
Posts: 15
Location: bangalore

PostPosted: Fri Dec 28, 2007 12:59 pm    Post subject: Application already connected to queue Manager
Reply with quote

Hi,

I have a Cobol program which calls another Cobol program.
Both the program perform MQPUT and MQGET operation on
two different Message queues but the Queue manager is same.

The Job is getting abend with the MQ reason code 2002 (MQRC_ALREADY_CONNECTED) .
I cannot issue a MQDISC as this will cause the calling and
the called program to disconnect.
Can't we connect to the same MQM more than once?

Thanks
Back to top
View user's profile Send private message
References
PostPosted: Fri Dec 28, 2007 12:59 pm    Post subject: Re: Application already connected to queue Manager Reply with quote

Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1