Can we use OVRDBF command without using of OPNQRYF ?
Or can we use OPNQRYF command without using of OVRDBF
command ?
Answer Posted / vaiv20
Yes it can be used when u want system to point to a
particular File/Member in a library while processing a file
in a high level pgm. Example, suppose u want to use a work
file in QTEMP , although other object of the same file
exist in the current library list. other way to achieve
this is by using Keyword EXTFILE and EXTMBR on the F spec
of that file in RPGLE pgm.
I think OPNQRYF can be used without OVRDBF but that
physical file should have been defined/changed with SHARE
(*YES). This will create a data path for the file to be
shared.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
how many levels are there in a physical file?
what if my system I runs with system value qccsid 65535?
what are indicators?
give three main purposes of file specification ?
what opcode will be used to test the zone of a character field?
what is the purpose of data structure?
how you will know whether you are in sfldrop or sflfold mode?
what is a composite key?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
where can you specify an indicator in lokup operation?
what are the important factors in error message subfile ?
what is the purpose of putovr (put with explicit override) keyword?
what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.
define what a data queue is along with a brief example of what it may be used for?
Why we are not able to perform insert delete and update operation in Join logical file?