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 see number of logical files depending on a pf?...can we declare more than 20 logical files from a single pf? is it possible
1. How can I create a LF using crtlf command based on a particular member in a multimember PF? Where I have to specify the member name? 2. How to differentiate between the types of join from a Join logical file DDS. Is it possible to have different types of Join Logical files? 3.Any performance difference between Opnqrf and Embedded SQL? When I should prefer Opnqryf and when SQL? 4. I know access path is the path chosen by the program to retrieve data. It can be of keyed access path or arrival sequence. *IMMED- *IMMED description says access path is updated each time record is added or deleted from a member. - What is updating here? *REBLD - The access path is completely rebuilt each time a file member is opened. The access path is maintained until the member is closed, then the access path is deleted. - I am not able to understand this completely. Could anyone explain these more clearly? 5.What is the purpose of using activation group. I know it is a resource allocator, but other than this any other benefits of using an activation group?
What is open data path?
How many libraries can be there in a library list?
Define interactive jobs and batch jobs
How to add a field to a PF and compile it without loss of data?
How to retrieve a physical file after deleting that ? what is keyword used for that....??
Is it possible to create a logical file whose Physical file is not in same library?
What is FORMAT keyword and its use?
I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?
How to know logical file belongs to which physical file without source?
How can we know that a trigger has been added on a PF? and what is the purpose of adding a trigger?