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...


how to update physical file using logucal file with example



how to update physical file using logucal file with example..

Answer / chinu

Declare the logical file in update mode in the RPG program.

Chain at the record needed to be updated and afer changing
the field value use UPDATE opcode with the record format
name of the LF.The record gets updated

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More DB400 Interview Questions

can any one pls tell me some differences between a LF and command OPNQRYF?

3 Answers   Accenture, Cognizant, eFunds,


hi iam very new to as400. i had created one physical file can any one tell command to enter data in to that

9 Answers   Encore,


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

0 Answers  


how to eliminate the level check error

2 Answers   TCS,


Which keyword is used both in subfile and subfile control record format of a DSPF?

8 Answers  


Is it possible to create a logical file whose Physical file is not in same library?

6 Answers  


How to read a pf in reverse(from last record to first) using cl?

0 Answers  


what is open data path? and what is the diff b/w access path and open data path?

3 Answers   Cap Gemini,


When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.

2 Answers  


how can we write LF using flatfile.

9 Answers  


How can we handle errors in RPG?

4 Answers  


What is the use of member in pf?

0 Answers  


Categories