suppose i i am changing / updating record of subfile and i
want to change the record in reverse order . means i want to
change the bottom record first and so on through readc . how i
do it please any one explain .

Answer Posted / baggy

That is possible by using embedded sql to fetch the data
using CURSORS to subfile and group by ASCEND or DESCEND

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would display prime numbers using CL program?

5962


How can we override a file during runtime in rpg?

927


do you use message subfiles? What are the necessary keywords required coding a message subfile?

903


How to call one program from another program in RPG? please help me with the code

1478


how do I preserve and clean the array?

851


what are the key words you must use when using a subfile?

896


how can I tell when to replace the array?

905


What is the difference between copybooks and subprocedures in as400?

1084


What is a record lock error?

1496


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

772


What is the purpose of record level identifier?

900


explain sflclr, sflend, sfldlt, and sflcsrrrn?

1084


what is file information data structure?

1763


what is the use of sflnxtchg?

1023


What is the difference between iter and do?

934