Can we use OVRDBF command without using of OPNQRYF ?
Or can we use OPNQRYF command without using of OVRDBF
command ?
Answer Posted / geo
OPNQRYF FILE((FILENAME))
CPYFRMQRYF FROMOPNID(FILENAME) TOFILE(QTEMP/TEMP) CRTFILE
(*YES)
This will copy the records selected from Open qry file and
put it in to the Temp file in Qtem that is newly created.
One can use the file i.e. QTEMP/TEMP with the records
selectes
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
what key word is used when screen is re-display?
what are different types of substems?
how you will find an error which is not in the first page of the subfile without using rolldown key?
WHAT IS FERERENTIAL INTRIGRITY ?
when do you explicitly open files and close files in an rpg program?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
how to declare a constant variable in the freeformat?
how many printer files maximum can be used in single rpg program?
which are the string manipulation opcodes?
what is a non-join logical file?
describe the difference between the dowxx and douxx operations?
in which specification the report layout can be defined?
what is the difference between *like and *namvar ?
how may a cgi control duplicate inputs?
What are the record format field mapping options in cpyf?