1) How to retrieve RRN through RPG ?
2) How to pass parameter by value ?
3) How to trap the error through the RPG/400
Answer Posted / girish kulkarni
1) Through CHAIN opcode it is possible , give RRN in Fact1
2) Write the value in Fact2 of Parm Opcode and name of
parameter in result field
3) Through the program status data structure or File
information data structure
| Is This Answer Correct ? | 4 Yes | 14 No |
Post New Answer View All Answers
what is *place and *auto keyword in prtf ?plz explain
are there any useful c runtime apis that I can call from rpg iv?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What is file identifier where we can use?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
What is ment by record level identifier?
How Chain operation copies the record's data to the input buffer for the program?
How to handle duplicate error handling in RPG?
When it is desirable to describe files Internally?
what is an online rpg?
what is the necessary keyword needed to scroll subfile records?
what is a rpg?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what is program status data structure?
how do you use commitment control in rpg?