View previous topic :: View next topic
|
Author |
Message |
thunderstorm
New User
Joined: 23 Mar 2007 Posts: 35 Location: pune
|
|
|
|
Dear All,
I have a requirement to execute a CICS program whenever an inserts happen in a DB2 table. Can you provide some insights as to whether its possible or not ? If possible, what steps needs to be done ? For example, we have to define the DB2 trigger , then define the CICS PCT,PPT entries.
Eagerly waiting for replies
Thanks !
Thunder~storm |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Why does someone believe this is a "requirement" . . .
A more proper approach would be to make the needed code external to cics.
This sounds more like someone trying to be clever than actually address a business requirement.
What business function will this code provide/support? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Would this DB2 insert be a CICS "event" ??
Garry |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
thunderstorm
New User
Joined: 23 Mar 2007 Posts: 35 Location: pune
|
|
|
|
Gary - That's correct. I am expecting the CICS txn to get trigerred with every insert within the table. Obviously , The number of inserts into the table will be very rare. But we want to get notified immediately whenever any insert happens. |
|
Back to top |
|
|
thunderstorm
New User
Joined: 23 Mar 2007 Posts: 35 Location: pune
|
|
|
|
The trigger documents do not show that any program can be trigerred or any JCL can be run..So, Is it true that we can do only DB2 activities like insert or delete within the trigger ? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
|