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 you get the relative record in a subfile in which cursor is located?
how can I start a page in a new window?
How can we read file using curser? how to define a curser?
how will you display a particular page in subfile ?
which are the relational operators in rpg?
How to convert a spool file to PDF file in AS400?
what is the function of crtdupobj command?
How do you check object lock
what is the function of cpyf command?
what opcode will be used to test the zone of a character field?
what is the favicon.ico request that my site receives now and then?
which of the cl command can be used to determine which logical files are dependent on a specific file?
records can be read/update/deleted with which file?
what are the basic features of seu?
distinguish between terminating a program through seton lr and return?