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 » Message Exits attributes on z/OS Channels

Post new topic  Reply to topic
 Message Exits attributes on z/OS Channels « View previous topic :: View next topic » 
Author Message
bay hoe san
PostPosted: Wed Mar 19, 2008 9:39 am    Post subject: Message Exits attributes on z/OS Channels Reply with quote

Centurion

Joined: 27 Nov 2006
Posts: 117

Hello,

( 1) I need advice. On the receiver channel, there is an attribute "Message Exits", under it, there are 2 columns, "Name" and "User Data". I coded a CICS program to print "Hello" into syslog whenever a message is being received by the channel.
( 2) I put the load module name under the "Name" column. However, when messages are being received by the receiver channel, the CICS program doesn't seem to be writing the word "Hello" to syslog. The CICS program is correct as I have verified tested it. I am wondering where could I have gone wrong?
( 3) Greatly appreciate for any advice/thoughts.
Thanks.

.Hoe San.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Mar 19, 2008 10:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you sure you can write a CICS program as an MQ Exit?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Mar 19, 2008 7:36 pm    Post subject: Reply with quote

Jedi Knight

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

Hi,

On z/OS, you can only write MQ Exits in C or Assembler.

Regards,
Roger Lacroix
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
Mr Butcher
PostPosted: Wed Mar 19, 2008 10:20 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

in addition to Rogers post....

... which must not contain CICS commands. Channel exits are executed in the CHIN address space, not in CICS (i hope you do not use such an old MQ version that still has the CICS move in it).
_________________
Regards, Butcher
Back to top
View user's profile Send private message
bay hoe san
PostPosted: Thu Mar 20, 2008 12:44 am    Post subject: Reply with quote

Centurion

Joined: 27 Nov 2006
Posts: 117

Hello,

( 1) Thanks for all your advice. Greatly appreciate.
( 2) Does any expert has a sample C where I can compile? BTW, the exits written in C or Assembler, has it to be a batch or online pgm? After compilation, where should I the load module reside?
( 3) Pls help. Thanks.

.Hoe San.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Mar 20, 2008 1:09 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

If you are asking these questions, writing system exits may not be for you.

System exits are neither batch nor online programs. They are extensions to system software.

Typically they need to be very efficient, re-rentrant and absolutely bug free.

They usually reside in system libraries.
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 » Message Exits attributes on z/OS Channels
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.