CAN WE INSERT FIELD IN PHYSICAL FILE BY USING OPNQRYF?
Answer Posted / sumit gupta
Hi Suma..your question is wrong...OPNQRYF is used to select
some records from a physical file which is overide or
simple 1 file(without OVRDBF).
We cannot insert field into physical file throgh OPNQRYF.
But yes you can change the format of field as SAID BY
MANISH and then bys using CPYFRMQRYF...you can write the
selected record into physical file.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..
What are the record format field mapping options in cpyf?
Write a logic program for knowing the repeated number of a vowels in a given program?
when should I use method get, and when should I use method post in my cgis?
Using %check we are checking monika in mona what is output? What is %SCAN?
how can I give more performance to some selected pages?
How to reverse the string in rpg
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
how you will find an error which is not in the first page of the subfile without using rolldown key?
what is the maximum number of record formats in dspf?
What is dynslt?
what is the function of crtdupobj command?
what are the important factors in error message subfile ?
can error messages as a result of a comp, range or values keyword be overridden?
what is a program described file in rpg?