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 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
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
Can an indexed file be accessed in arrival seQuence in RPG program ?
what is the maximum number of subfiles that can specified in a display file ?
what is clile code get last digit in numarice value
when is a tag statement used in rpg?
hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.
What is the difference between production library and test library ?
what are the important factors in error message subfile ?
why do we use readc? What is sflnxtchg?
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?
What is the use of OVRPRTF ?