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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the interactive job? What is the batch job?

594


Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

634


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

736


Last statement of any rpg program is lr?

624


Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?

7458






What is the primary file?

594


How to change the batch job to interactive job?

586


I have a pf, it contains 5 members, how to access particular member data from logical file?

531


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

634


What is the difference between access path and open data path?

601


What is the interactive job?

583


Can we concatenate fields in physical file? If yes how can we do?

594


When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?

575


How to update physical file using logical file with example?

594


How to find the list of source physical files in a library?

627