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


Please Help Members By Posting Answers For Below Questions

define what a data area is along with a brief example of what it may be used for?

960


can a indexed file be accessed in arrival sequence in rpg program?

936


what does opcode post do ?

1091


how do you know that records are locked?

1154


What is file access opcodes?

760






when are the referential constraints executed?

629


What Is Ddm ?

1031


difference between view and index ?

711


why is as/400 called object oriented machine?

949


What is program status data structure(psds) in as400?

605


how can database records be read without lock ?

1216


which of the cl command can be used to determine which logical files are dependent on a specific file?

593


Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

745


what is the purpose of overrides?

1017


what are different types of substems?

1339