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
Difference Between Call & Sbmjob?
what are members?
What is difference between rename and prefix?
can you display a empty subfile?
what are the two record formats a subfile contain ?
why is as/400 called object oriented machine?
what is the difference between *like and *namvar ?
describe the difference between the dowxx and douxx operations?
what is rpg fixed logic cycle?
what are different record spacing keywords in rlu ?
How can we read file using curser? how to define a curser?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
which are the relational operators in rpg?
in conjunction with what other keyword must ovrdta and ovrata be used?
how do you use commitment control in rpg program ?