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 |
How to read alternative records in a pf by using rpg?
Suppose in CL we reach at end of file and again we have to reach from 1 record
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
i would like to know under what circumstance the object will get locked on AS400.
how do u find whether a record is locked or not??
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?
Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?
Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?