Posted: Thu Jun 21, 2007 3:24 pm Post subject: MQ compile with dual mode program
Newbie
Joined: 03 Feb 2006 Posts: 9
Hi all,
i am having problem with compiling my program involving MQ.
The program is dual mode program (runs in batch as well as online(cics))
and now i have added some MQ processing in it.
The compiler rejects the compilation of dual mode program having MQ processing.
Please suggest any alternative to this. One alternative which i see is to have seperate program for MQ processing and have two copies of it. one for batch call and one for online call.
Please advice if some better suggestion is present with u people..
thanks in advance.
Cdhami
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
IIRC (and it's been a while) CICS & Batch need to be linked with 2 separate stubs, so 1 load module running in both environments is not possible.
The other difference I believe I remember is that CICS MQ can't specify a queue manager on connect, but are constrained to the queue manager named in the CICS startup deck. But I think you only get a warning if you specify an MQCONN to a CICS prog.
Others with more recent expereince are free to correct or contradict me. _________________ Honesty is the best policy.
Insanity is the best defence.
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