suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / surya siram
Hi,
Declare the physical file and make sure the physical file shouldn't have any keys. Load value 60 into RRN variable and then by using SETLL RRN PF, hit the physical file. Then increment the RRN upto 70 and read the records.
| Is This Answer Correct ? | 4 Yes | 0 No |
what is kids-rpg?
what is commitment control?explain about it?
How to search particular records from the database file in rpg?
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.
Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2
we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers
how do I play {insert rpg system here}?
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
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?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?