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 » IBM MQ API Support » MQSERIES AND CICS INTERFACE

Post new topic  Reply to topic
 MQSERIES AND CICS INTERFACE « View previous topic :: View next topic » 
Author Message
daveking
PostPosted: Tue Nov 05, 2002 11:33 am    Post subject: MQSERIES AND CICS INTERFACE Reply with quote

Newbie

Joined: 10 Oct 2002
Posts: 5

Hi Folks,

I need an MQ program which runs in CICS REGION.
Appreciate if you guus can provide me code and some explanation
how it works.

Thanks
Dave
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Nov 05, 2002 9:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

If you are looking for MQ COBOL code for CICS then I assume you will be using the MQ CICS Adapter (rather than the MQ CICS Bridge).

There is no difference between running MQ COBOL under CICS than outside of CICS. You can find MQ COBOL sample code at my web site:
http://www.capitalware.biz/sample_mqseries.html#cobolcode

There are 2 things to remember:
    (1) In your Link-Edit step, you need to "INCLUDE CSQCSTUB".
    (2) CICS will be the transaction coordinator. Therefore, any "EXEC CICS SYNCPOINT" or "EXEC CICS ABEND" will also commit or rollback MQ messages that are under SyncPoint.

later
Roger Lacroix
Enterprise Architect
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
bob_buxton
PostPosted: Wed Nov 06, 2002 12:48 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

There are number of CICS sample programs provided with MQ.
Look at CSQ4Cxxx in the samples data set.
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQSERIES AND CICS INTERFACE
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.