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


Please Help Members By Posting Answers For Below Questions

how do you read changed records backward in subfile?

841


define the purpose of the %sst function?

1295


what are the different methods to access seu?

830


WHAT IS FERERENTIAL INTRIGRITY ?

1388


how can I give more performance to some selected pages?

817


which cl command is used to trap error messages during program execution?

1134


What is the draw back of Procedures? why we are going to Modules?

1467


what is the purpose of overrides?

1385


explain the use of dftwrt display keyword?

1430


how will you find a string using pdm?

917


when are the unique constraints executed?

870


How to add 99 menu (page down) option in menu creation..

2137


what is elastic and non elastic subrile?

778


can a join logical file be updated?

783


what is a query can be run in which mode?

1069