suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
Answer Posted / siyan sinhag
It such a easy question. Make few way to solve. one of my way. Declare the file and do yourself coding atlast what you do,
Setll RRN REC;
Dow (n <=10);
n= n+1;
....
....
enddo;
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
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 a rpg?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
How to call one program from another program in RPG? please help me with the code
is this a rpg channel?
What is the difference between copybooks and subprocedures in as400?
what is program status data structure?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what is data area and how it is used in rpg program ?
what is the necessary keyword needed to scroll subfile records?
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.
can you debug ile rpg program using isdb?
what is file information data structure?
what is the difference between do while and do until?
what is the use of sflnxtchg?