PF Trigger

2880 pts.
Tags:
AS/400 triggers
As40
Hi !

I have a Physical File. When adding a record in that PF,after the write operation some of the fields has to be added on another PF after 1 hour. can anyone suggest how can we achieve this?

Surey
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    Simplest might be to have the trigger execute a SBMJOB with SCDDATE() and SCDTIME() set for one hour in the future.
    32,940 pointsBadges:
    report
  • ToddN2000
    Ravens idea is the most efficient. Not knowing why there needs to be an hour delay we can only guess. IF you can explain the reason we may have other suggestions like adding a trigger on another file if you are waiting on data from another source.
    127,470 pointsBadges:
    report
  • azohawk
    Another question I have: "Is the data that needs to be added known? (i.e if fielda is "sky", fieldb needs to be "blue"); or does the data come from another file?; or does someone have to do manual entry of new fields?
    3,990 pointsBadges:
    report
  • ToddN2000
    My one concern is why the hour delay. Would there be an instance where that would still not be enough time due to other issues like a halt or could it even be run sooner if the data was available?
    127,470 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: