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

why we sometimes use same file name in FILE and TOFILE in
OVRDBF and sometimes different??please tell

Answer Posted / mansi walia

In RPGLE if you want to declare the same file in more then
once mode(read/write/update)in this case you can override
the file with different name and declare the same file with
the overriden name.
for example:
In RPGLE if you want to open a file A in two different mode
one is Read and other is Update then you can override the
same file with two different name may be AA and AB and then
declare in your RPGLE program.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is scan and xlate?

1735


how do u compile rpgle program?

1052


how can you check for a records existence without causing and i/o (chain/read)?

1996


how to read database records without locking them?

1756


what is a keyed physical file?

1733


How can we change the uppercase to Lowercase in RPG?

1361


how can I start a page in a new window?

1159


what is the function of rlu ?

1590


can we use ASCII ,CDUP,SENDPASV commands in SFTP?

3590


a multiple format logical file is also known as?

1004


how can I control the way a remote browser uses its cache?

1109


Can level check error occur if we do chgpf?

1201


How to convert a spool file to PDF file in AS400?

1174


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

982


what is the version of os/400 that we have?

1542