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
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 |
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 |
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 |
What is field reference file?
What is the use of SDA ?
when do you use f-spec. Continuation line ?
in conjunction with which statements can orxx and andxx conditions be used ?
can you display a empty subfile?
what does the ovrdbf command do?
What are Control level indicators?
What is the purpose of FRCDTA (Force Data) keyword?
What is array in as400? What are the types of array?
What is a library list ?
can a single screen format occupy a screen area above and below a subfile format ?
What is LEVEL CHECK?