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 | 0 No |
How I can reread the physical file in CL program once the end of file reached in same CL program.
what is difference between DSPFD and DSPFFD?please give me real senario with good example?
What is the difference Return and InLr?
How to read alternative records in a pf by using rpg?
can anybody explain significance of *loval setll with example code????
In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?
In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening
How to search particular records from the database file in rpg?
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
what are the types of identifers
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
What is the difference between RPG/400 and RPG4