how can an indexed file be used as arrival sequence in RPG?
Answer Posted / kamlesh
do not specify K for record address type in F spec.
Use RECNO(VRRN) keyword where VRRN is packed data type
having dec pos as 0 and has length enough to hold
largest RRN of ur PF.
Now move RRN in VRRN variable and apply
VRRN Chain FILE 99
ur required record is retrieved
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is a rpg?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
How many program bind in one module....
what are the key words you must use when using a subfile?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What is the difference between iter and do?
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.
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
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.
what is kids-rpg?
what is data area and how it is used in rpg program ?
Explain mdt?
How to declare the pull button in AS/400..
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
What is ment by record level identifier?