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 can i retrieve city while my i have one field address length 60 but i don't know what where is city in this field ?
Define interactive jobs and batch jobs
If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.
how to restrict upon adding the data for field reference file in DB400
How many libraries can be there in a library list?
How to insert more than one record to a pf at a time?(Bulk insert to a pf)
What is the primary file?
how to update physical file using logucal file with example
How can we handle errors in RPG?
can we concate fileds in physical file? If yes how can we do?
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 DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?