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

which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?

1 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  


HOW TO DELETE THE RECORD FROM MASTER FILE WHICH IS LINK BY ANOTHER TRASATION FILE WITH REFERTIAL INTYGRITY?

1 Answers   TCS,


If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?

1 Answers  


How to add 2 new fields in a file? How many ways are there in as400?

2 Answers  


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

0 Answers  


Can more than one subfile record be displayed on one line?

7 Answers   IBM,


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

0 Answers  


Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????

1 Answers  


What is the difference between RPG/400 and RPG4

1 Answers   HCL,


What is a record lock error?

0 Answers   Wipro,


Categories