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



How can we know that a trigger has been added on a PF? and what is the purpose of adding a trigger..

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

How can we know that a trigger has been added on a PF? and what is the purpose of adding a trigger..

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 we know that a trigger has been added on a PF? and what is the purpose of adding a trigger..

Answer / karu

sujata can you plz explain it with the help of example program.........

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB400 Interview Questions

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 ?

4 Answers  


Define interactive jobs and batch jobs

6 Answers  


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.

2 Answers  


how to restrict upon adding the data for field reference file in DB400

1 Answers  


How many libraries can be there in a library list?

2 Answers  






How to insert more than one record to a pf at a time?(Bulk insert to a pf)

9 Answers  


What is the primary file?

0 Answers  


how to update physical file using logucal file with example

1 Answers   Wipro,


How can we handle errors in RPG?

4 Answers  


can we concate fileds in physical file? If yes how can we do?

5 Answers   Patni,


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.

2 Answers  


WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?

5 Answers   Accenture,


Categories