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

Answers were Sorted based on User's Feedback



how to update physical files using normal logical file..

Answer / anand

in the above code file should be in update mode or file
addition mode

Is This Answer Correct ?    8 Yes 0 No

how to update physical files using normal logical file..

Answer / 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

how to update physical files using normal logical file..

Answer / anand

what Keshar Jain is saying is correct but open the logical file in update mode i.e FLF1 UF E k DISK

Is This Answer Correct ?    2 Yes 0 No

how to update physical files using normal logical file..

Answer / abhishek agrawal

Hi,,Whatever code written above is right...but opcode for
update in rpg is 'updat'...so the right statement will be
Updat flf1

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More DB400 Interview Questions

Why journalling is compulsory before commitment control?

1 Answers  


What is the purpose of the chain and setll and setgt?

0 Answers  


what is general and type of general

1 Answers   Active Brains,


YOU CAN DELETE THE RECORD SPACE PERMENANTLY IN PHYSICALFILE THROUGH CL?

4 Answers  


How we can't update join logical files?

10 Answers  


how to restrict upon adding the data for field reference file in DB400

1 Answers  


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

4 Answers  


When u create a PF and did not fill up Maint parameter, then by default which access path will the system take & why

2 Answers   HCL,


Can anybody tell why Journalling is compulsary before Commitment Control?

2 Answers  


In how many ways we can create a logical file?`

5 Answers  


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

0 Answers  


Q.1 how to implement the commitment control. 2.how to control commitment control from external program.

7 Answers   IBM,


Categories