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


Please Help Members By Posting Answers For Below Questions

How to select highest score of each subject or how to select highest income of every month?

1291


How to declare the pull button in AS/400..

1871


When it is desirable to describe files Internally?

1182


how do I play {insert rpg system here}?

579


what was the robotech rpg?

680






1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5390


what is the necessary keyword needed to scroll subfile records?

695


what is kids-rpg?

661


what is the rpg system?

660


what is a rpg?

696


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1886


What is ment by record level identifier?

647


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

479


what is program status data structure?

1371


How would display prime numbers using CL program?

5672