How can we know that a trigger has been added on a PF? and
what is the purpose of adding a trigger?
Answers were Sorted based on User's Feedback
Answer / sujata
Do the DSPFD then you will get to see that triggers has been
added.
We add triggers to check particular action. e.g If you want
to add record then one program will keep watch that record
addition is tried and do the set of defined actions in the
trigger program.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / vj
Triggers are useful for
1. keeping audit trails
2. for detecting exceptional conditions
3. for maintaining relationships in the database.
| Is This Answer Correct ? | 1 Yes | 0 No |
How to read a pf in reverse(from last record to first) using cl?
What is the interactive job? What is the batch job? How to change the batch job to interactive job?
Define interactive jobs and batch jobs
Q.1 how to implement the commitment control. 2.how to control commitment control from external program.
what is the difference between adding keys & constraints into a phisical file
There are six records in a file and we are going to update that records and used commit operation when it complete the update but suppose when it updating the third record,a error occured and operation failed.Is previously two records will be update or whole operation will be rollback? Please confirm it.
what is the purpus of the chain and setll and setgt ?
Is Constent can be define as a key field?
How to know the perticular record in pf with out reading?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
Last statement of any rpg program is lr?
How to find the list of source physical files in a library?? Is there any way to get a list??