i want code and what are used key words are ...like wrkmbrpdm screen
(q) i have a file with 3 fields empno,empname,empaddr...
here you give the empno it displays from that number to remaining empno's how?
sub file screen:
employee details
pos to:empno then enter
empno empname empaddr
so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining...
......
please share this answel
Answer Posted / raghav
This can be achieved by using File Information Data Structure. First extract the RRN of the required record and pass it to the SFLRCDNBR (Hidden Field).
This will take the cursor to the desired record on the subfile.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is file information data structure?
how can I tell when to replace the array?
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?
can you debug ile rpg program using isdb?
what is *place and *auto keyword in prtf ?plz explain
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
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.
What is a record lock error?
How to write record if no field or the field are different in physical file in rpgle ?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is the rpg system?
How many program bind in one module....
what is kids-rpg?
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?
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.