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 |
What is the OPEN and CLOSE accesspath?
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
can i use UPDDTA command in rpg program in which contains a file
when will come session device error?
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
What is the difference Return and InLr?
how do I preserve and clean the array?
How do you do indexing in a physical file?
what is kids-rpg?
Anybody know the difference of primary file and full procedural file
can anybody explain significance of *loval setll with example code????