why we sometimes use same file name in FILE and TOFILE in
OVRDBF and sometimes different??please tell
Answer Posted / 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 |
Post New Answer View All Answers
What is file access opcodes?
what is the maximum number of files allowed in rpg?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
Can level check error occur if we do chgpf?
What is %CHECK?
define a shared access path?
What is binder language ?
what is the difference between packed decimal and zoned decimal?
what are all the contents of subfile?
an access path may be in which sequence?
what are different record spacing keywords in rlu ?
how many printer files can be defined in f specs ?
what is elastic and non elastic subrile?
How can we update a specific field in RPG?
how do you read data area in an rpg program?