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 |
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
wat is the difference between array and multiple occurence data structure?
i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel
what is data area and how it is used in rpg program ?
What is the difference between iter and do?
Suppose in CL we reach at end of file and again we have to reach from 1 record
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
How can you delete a record from a file in RPG without using DELETE oppcode?
Can a run time array be declare like below with no specified number of elements ? Is it possible ? DFLD_ARRAY 7 DIM() INZ(*blanks) What does this mean ? Does this mean that the number of array elements will be dynamically declared during run time ?
1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400
10 Answers IBM, Tech Mahindra,
1.The questions have given an array declaration and move operation then this statement is correct or not?
what is difference between DSPFD and DSPFFD?please give me real senario with good example?