Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



suppose i i am changing / updating record of subfile and i want to change the record in reverse or..

Answer / sathish

Not possible

Is This Answer Correct ?    4 Yes 0 No

suppose i i am changing / updating record of subfile and i want to change the record in reverse or..

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

suppose i i am changing / updating record of subfile and i want to change the record in reverse or..

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

suppose i i am changing / updating record of subfile and i want to change the record in reverse or..

Answer / dkumar3

Can't we use SETGT >> READPE >>> Update ?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?

8 Answers  


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,


What is the difference between iter and do?

0 Answers  


what is the necessary keyword needed to scroll subfile records?

0 Answers   IBM,


how to run only 10 modules of existing N modules in service program in RPGILE ?

3 Answers   Wipro,


What are the commands that can be executed in CLP but not in RPG? Why?

1 Answers   CSC,


what is the difference between SETON RT & RETURN?

5 Answers  


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 ?

3 Answers   IBM,


what are the array operations?

1 Answers   IBM,


Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?

2 Answers  


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?

7 Answers  


Categories