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

what is a program described file in rpg?

1056


what are the three types of keywords associated with printer file ?

1013


what is the difference between *like and *namvar ?

1562


what is the maximum number of fields under a record format of physical file?

1007


an access path may be in which sequence?

635






how many files can be defined in f specs?

1416


how to pick up the changed records every time in a subfile after the first change made ?

1020


how do u compile rpgle program?

628


WHAT IS AS/400 SYNORIO?

2889


what is the purpose of overrides?

1025


How do I remove a flag or check no. or name when a user opens too many sessions?

1774


why is as/400 called object oriented machine?

955


what is a keyed physical file?

1007


when is a tag statement used in rpg?

1368


when do you use f-spec. Continuation line ?

981