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 |
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?
How to find d key field of a pf that doesn’t have source physical file?
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
How I can reread the physical file in CL program once the end of file reached in same CL program.
this is rpg3 code W0RTN IFEQ @CN,002 what is the means @CN,002
What is a record lock error?
How to update physical file in rpgle without using display file?
we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers
Anybody know the difference of primary file and full procedural file
What is the difference between RPG/400 and RPG4
how do I declare a table or array in rpg iv?