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 .
Answers were Sorted based on User's Feedback
Answer / maheshg
better to have multi occurance of DS load all the record
which is read through READC and read DS in reverse oreder
for changing / updating.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
Can we create 300 logical files based on a single physical file using the CRTLF command only once?.
How I can reread the physical file in CL program once the end of file reached in same CL program.
What is the difference between iter and do?
what is the necessary keyword needed to scroll subfile records?
how to run only 10 modules of existing N modules in service program in RPGILE ?
What are the commands that can be executed in CLP but not in RPG? Why?
what is the difference between SETON RT & RETURN?
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
what are the array operations?
Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?