IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DB2 Event passed to the Application Program


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
@shim

New User


Joined: 28 Oct 2021
Posts: 8
Location: India

PostPosted: Fri Sep 08, 2023 4:44 pm
Reply with quote

Hello Experts,

I am looking for your advice/suggestions for the below mentioned scenario -

I have a Table T1 which gets updated by some other processes. I need to scan the table if there are rows with specific criteria, based on that I will select the rows and process them. This scan process runs as a started task and currently scans every half an hour, process the records and then it goes to sleep.

Is there any way, so that the STC will get notified once we have some rows satisfying the selection criteria - basically instead of STC scans, can DB2 notify the STC that it has rows satisfying the criteria.

Any suggestions or approach would be appreciated. Thank you in advance !!

Regards,
AP
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Fri Sep 08, 2023 6:26 pm
Reply with quote

Read about DB2 Triggers.

Sounds like it may satisfy your needs.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top