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 |
How do you combine two record formats in RLU ?
what is RCLRSC?
What is file access opcodes?
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?
list some of the commonly used commands for debugging?
how can I control the way a remote browser uses its cache?
what does check opcode do ?
What are the record format field mapping options in cpyf?
how to write *pssr ?
what are indicators?
What is the maximum length of a variable name in CL?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?