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 do you read data area in an rpg program?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
what is the use of dspatr(mdt) keyword?
What Does 'sr' In Columns 7-8 Of C Specs Mean?
Write a CL program which will run a batch job at 1 am every night
define the purpose of the iter operation?
what is sflrolval?
when would you use or not use this approach?
How can we read file using curser? how to define a curser?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
What is the maximum number of subfiles that can be specified in a display file?
what key word is used when screen is re-display?
can a indexed file be accessed in arrival sequence in rpg program?
can error messages as a result of a comp, range or values keyword be overridden?