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 |
pls anyone explain about compile time array,pre run time array run time array
Suppose if a physical file is having 1000 records, but i deleted 500 records from it. Here the concern is can the size of the file changes or it remains the same... kindly help me out with thorough xplanation.... Thanks in-advance...
Define interactive jobs and batch jobs
How to add a field to a PF and compile it without loss of data?
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
How to find the list of source physical files in a library?
YOU CAN DELETE THE RECORD SPACE PERMENANTLY IN PHYSICALFILE THROUGH CL?
In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.
How to know the perticular record in pf with out reading?
Last statement of any RPG pgm is LR?
What is the interactive job? What is the batch job? How to change the batch job to interactive job?
How to read a pf in reverse(from last record to first) using cl?