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
what is a query can be run in which mode?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
what is the function of rlu ?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
is there any way to dynamically merge other html scripts into a given html?
How to reverse the string in rpg
What is the draw back of Procedures? why we are going to Modules?
how you will find an error which is not in the first page of the subfile without using rolldown key?
How to reverse a string using RPG?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out
what is full form for dds?
define a shared access path?
what are the three line types in rlu ?
what do we can do with the embedded sql statements?
what key word is used when screen is re-display?