|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message Exits attributes on z/OS Channels |
« View previous topic :: View next topic » |
Author |
Message
|
bay hoe san |
Posted: Wed Mar 19, 2008 9:39 am Post subject: Message Exits attributes on z/OS Channels |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Mar 19, 2008 10:40 am Post subject: |
|
|
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 |
|
 |
RogerLacroix |
Posted: Wed Mar 19, 2008 7:36 pm Post subject: |
|
|
 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 |
|
 |
Mr Butcher |
Posted: Wed Mar 19, 2008 10:20 pm Post subject: |
|
|
 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 |
|
 |
bay hoe san |
Posted: Thu Mar 20, 2008 12:44 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Thu Mar 20, 2008 1:09 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|