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

How to know the particular record in pf with out reading?

588


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?

7429


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

625


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

564


What is FORMAT keyword and its use?

203






How to index LF by relative record no (RRN)

2828


How to retrieve a physical file after deleting that?

580


What is the purpose of the chain and setll and setgt?

586


What is the interactive job?

574


How to change the batch job to interactive job?

572


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?

622


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

586


How to read a pf in reverse(from last record to first) using cl?

593


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

618


What is the batch job?

571