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



Can we trigger an rpg program which has user interaction with display file when updating a file us..

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

Can we trigger an rpg program which has user interaction with display file when updating a file us..

Answer / sachin

no you can't use rpg/400
you can use triggers on ile programs

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,


what is difference between DSPFD and DSPFFD?please give me real senario with good example?

1 Answers  


What is the difference Return and InLr?

3 Answers  


How to read alternative records in a pf by using rpg?

8 Answers   IBM,


can anybody explain significance of *loval setll with example code????

3 Answers   HSBC,






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?

4 Answers  


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

2 Answers  


How to search particular records from the database file in rpg?

1 Answers  


How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?

8 Answers  


what are the types of identifers

2 Answers   IBM,


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...?

0 Answers  


What is the difference between RPG/400 and RPG4

1 Answers   HCL,


Categories