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 to read 2 positions at a time in a data area? I have created a data area of length and i have to read the values of the data area like 91-92,93-94 at a time up till 100

3 Answers  


Define what the operation will do, the purpose of the result field and the purpose of *IN66? HI LO EQ C CALL 'CVTDAT' DTPRM 66

1 Answers  


Can an indexed file be accessed in arrival seQuence in RPG program ?

1 Answers  


what is the maximum number of subfiles that can specified in a display file ?

1 Answers   IBM,


what is clile code get last digit in numarice value

2 Answers   CFC,


when is a tag statement used in rpg?

2 Answers   IBM,


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

0 Answers  


What is the difference between production library and test library ?

1 Answers  


what are the important factors in error message subfile ?

0 Answers   IBM,


why do we use readc? What is sflnxtchg?

0 Answers   IBM,


1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be interactive one or batch one? 2)How many members can exist in a PF?

7 Answers  


What is the use of OVRPRTF ?

1 Answers  


Categories