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

how to add a new field to a file without compiling it?

1 Answers  


one physical file can have how many max of logical files? what is the primary file?

3 Answers   Four soft,


Last statement of any RPG pgm is LR?

5 Answers  


can we concate fileds in physical file? If yes how can we do?

5 Answers   Patni,


what is the difference between adding keys & constraints into a phisical file

4 Answers   HSBC,


How to index LF by relative record no (RRN)

0 Answers  


I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?

0 Answers  


pls anyone explain about compile time array,pre run time array run time array

4 Answers  


What is the batch job?

0 Answers  


Is Constent can be define as a key field?

3 Answers  


How many libraries can be there in a library list?

2 Answers  


wirte a simple program for read file in cl

2 Answers   Active Brains,


Categories