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 |
Can be OVRDBF command mentioned after OPNQRYF command in CL?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
why we use binding directory and service pgm
What is the difference between keys of a Physical file and the keys of a logical file?
2 Answers Bank Of America, BoA,
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
How to avoid using indicators in ile ?
What is the purpose of USROPN keyword?
Q. 1.What are the in build functions in CL program and what are uses of thes in build functions? 2.How we can create own command in CL program? 3.What is use of STRSRVJOB?
PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM Can u plz tell me what the above code do exactly?
what are the different types of data areas?
What are the functions of Remote Job Entry (RJE) ?
what is a query can be run in which mode?