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 are the different opcodes used for file operation on a subfile in a rpg pgm?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
Space & Skip Are Which Level Keywords?
list some of the commonly used commands for debugging?
what is a primary file?
can a single screen format occupy a screen area above and below a subfile format ?
what is the use of sflend keyword?
what are the basic features of seu?
what keyword must be used with protect keyword ?
what is the purpose of indicators in rpg?
what is the purpose of overrides?
in conjunction with what other keyword must ovrdta and ovrata be used?
what is the sequence when using cursor?
how do you specify page overflow indicator for printer files in rpg?
what is the maximum number of parameters allowed in rpg?