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 can we override a file during runtime in rpg?
Explain mdt?
what is program status data structure?
What is the difference between iter and do?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
how do I declare a table or array in rpg iv?
How to write record if no field or the field are different in physical file in rpgle ?
How would display prime numbers using CL program?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
what is the difference between do while and do until?
How to declare the pull button in AS/400..
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?
What is the difference between copybooks and subprocedures in as400?