Can we trigger an rpg program which has user interaction
with display file when updating a file using the command
ADDPFTRG?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sachin
no you can't use rpg/400
you can use triggers on ile programs
| Is This Answer Correct ? | 0 Yes | 1 No |
How to add 2 new fields in a file? How many ways are there in as400?
What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52
Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
What are the types of identifiers?
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
How can a screen field that has changed since the last output operation be detected?
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
difference betwen keywords and opcodes
How to declare the more than one file in cl/400.
explain sflclr, sflend, sfldlt, and sflcsrrrn?
WHAT IS MEANT BY SIGNATURE VAILOTION ERROR