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
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?
What is difference between bind by copy and bind by reference?
what is a rpg?
how do you use commitment control in rpg?
What is ment by record level identifier?
what was the robotech rpg?
what is *place and *auto keyword in prtf ?plz explain
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
How can we override a file during runtime in rpg?
what is data area and how it is used in rpg program ?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How Chain operation copies the record's data to the input buffer for the program?
how can you display specific subfile page on the screen in unequal subfile?
How would display prime numbers using CL program?