I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5.
Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.
Answer Posted / swetha krishna
2 setll pf
read rec
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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 handle duplicate error handling in RPG?
how do you use commitment control in rpg?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
what is data area and how it is used in rpg program ?
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
How many program bind in one module....
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
how do I preserve and clean the array?
can you debug ile rpg program using isdb?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
How can we know running job is batch or interactive?
what is the necessary keyword needed to scroll subfile records?
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 iter and do?