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 / deepu
1.USING SETLL OR CHAIN BY GIVING RRN IN FACTOR ONE,OR
SPECIFY RECNO KEYWORD IN FILE LEVEL.
2.USING CALL AND PARM
3.USING ON-ERROR OPCODE
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
what is the use of sflnxtchg?
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...
how do I declare a minor?
what is program status data structure?
is this a rpg channel?
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 the difference between iter and do?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
how do you use commitment control in rpg?
what is data area and how it is used in rpg program ?
how can I tell when to replace the array?
what is *place and *auto keyword in prtf ?plz explain
what is the difference between do while and do until?