Can we trigger an rpg program which has user interaction
with display file when updating a file using the command
ADDPFTRG?
Answer Posted / samul paul
Normally,we avoide to add the Trigger (Update operation)
for that PF.
If Update trigger exists with the same program name and
*After then it will trigger following msg when u try to
update the record in display file.
An error in the trigger program was detected after UPDATE
on file USRPF.
Function check. RNX1024 unmonitored by PGM1 at statement
0000000095,
instruction
X'0000'.
An error in the trigger program was detected after UPDATE
on file USRPF (C
G D
F).
An error in the trigger program was detected after UPDATE
on file USRPF (C
G D
F).
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what do you mean by an input subfile, what are the keywords required?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
How to select highest score of each subject or how to select highest income of every month?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
What is file identifier where we can use?
what is file information data structure?
how do I declare a table or array in rpg iv?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
what is the necessary keyword needed to scroll subfile records?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
How to declare the pull button in AS/400..
How to write record if no field or the field are different in physical file in rpgle ?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
How would display prime numbers using CL program?