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 » Mainframe, CICS, TXSeries » MQ compile with dual mode program

Post new topic  Reply to topic
 MQ compile with dual mode program « View previous topic :: View next topic » 
Author Message
cdhami
PostPosted: Thu Jun 21, 2007 3:24 pm    Post subject: MQ compile with dual mode program Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Jun 21, 2007 3:36 pm    Post subject: Reply with quote

Grand High Poobah

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.
Back to top
View user's profile Send private message
cdhami
PostPosted: Thu Jun 21, 2007 5:37 pm    Post subject: Reply with quote

Newbie

Joined: 03 Feb 2006
Posts: 9

Thanks vitor..
that was the answer i think..i was looking on the net.

I will have to consider calling two seperate programs for online and batch mode.

Thanks..again..
cdhami
Back to top
View user's profile Send private message Send e-mail
deepeshk79
PostPosted: Thu Jun 28, 2007 2:31 am    Post subject: Reply with quote

Apprentice

Joined: 25 Mar 2007
Posts: 45
Location: Los Angeles

Yes based on my experience you have to use the stub CSQCSTUB while compiling your online programs and stub CSQBSTUB while compiling batch programs.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » MQ compile with dual mode program
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.