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
what are the uses of factor1, factor2 and result field for the rpg operation code parm?
which are the relational operators in rpg?
what is xfoot opcode ?
What is the use of jdftval in as400?
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
how can a message from a message file appear as a constant on the screen?
What is compiler directive in as400? Give example of compiler directive.?
In RPG How to read a records from a file without using read opcodes?
what is the purpose of data structure?
explain the purpose of keep and assume keywords?
when is a tag statement used in rpg?
how can I predict the performance of my cgis?
what is maximum number of arrays allowed in rpg?
how you will find an error which is not in the first page of the subfile without using rolldown key?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?