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

Answers were Sorted based on User's Feedback



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

Answer / madhusudhan

I understood your question.
To and From file will be same in the below scenerios for
the OVRDBF command.

1. When you want the different member of the same file.
2. When you want the same file in different Library.

There are more reasons for using OVERDBF other than these
also.

Is This Answer Correct ?    13 Yes 0 No

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

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

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

Answer / upendra kachhwaha

There is one more use when you want to handle sharing of ODP created for the database member.

Also you can provide open scope to for better handling in different level(Job or Activation Group).

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

How do you combine two record formats in RLU ?

1 Answers  


what is RCLRSC?

2 Answers  


What is file access opcodes?

0 Answers   IBM,


Suppose you have 3 members in a database file. How to read records from all the members Without using CL (OVRDBF) i.e. it should be handled exclusively in an RPG program?

6 Answers   IBM,


list some of the commonly used commands for debugging?

1 Answers   IBM,


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

0 Answers   IBM,


what does check opcode do ?

1 Answers   IBM,


What are the record format field mapping options in cpyf?

0 Answers  


how to write *pssr ?

0 Answers   IBM,


what are indicators?

0 Answers   IBM,


What is the maximum length of a variable name in CL?

1 Answers  


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

0 Answers   IBM,


Categories