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 do you find whether a job is a batch job or interactive?

4 Answers  


without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?

3 Answers   HSBC, TCS,


How do you call procedures in ILE?

3 Answers  


1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword

1 Answers   CSC, CTS,


1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?

5 Answers   HCL,


how to check on which PF , the LF is dependant ?

4 Answers   IBM,


What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???

7 Answers   HSBC, Systime,


Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?

2 Answers   HSBC,


Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?

6 Answers   CSC,


If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?

1 Answers  


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

0 Answers  


How to sort an array in descending in RPG

3 Answers   Google, TCS,


Categories