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 files using normal logical file

Answer Posted / keshar jain

HI,
To Update physical file in RPG use opcode UPDATE.
example
FLF1 IF E k DISK
key1 Setll LF1
READ LF1
UPDATE LF1

Note: Logical file should be simeple logical file. We can't
update physical file with help of Join logical file.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is FORMAT keyword and its use?

648


What is the batch job?

1029


How to change the batch job to interactive job?

1043


How to know the particular record in pf with out reading?

1115


Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

1159


How to find the list of source physical files in a library?

1190


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

1199


How to index LF by relative record no (RRN)

3360


What is the use of member in pf?

1038


What is the difference between access path and open data path?

1159


When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?

1151


How to update physical file using logical file with example?

1099


What is the primary file?

1198


How many maximum record format a logical file have?

1036


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

1225