Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


Can you copy the records created by the OPNQRYF to other
files and how?

Answers were Sorted based on User's Feedback



Can you copy the records created by the OPNQRYF to other files and how?..

Answer / kcsyam

CPYFRMQRYF command to save the output permanently

Is This Answer Correct ?    14 Yes 0 No

Can you copy the records created by the OPNQRYF to other files and how?..

Answer / surendra y mudliar

Yes, By using CPYFRMQRYF command

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More RPG400 Interview Questions

How to change the name of physical members Dynamically?

1 Answers  


i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?

1 Answers   IBM,


I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.

3 Answers  


how to change the length of the field in a physicalfile?

12 Answers  


How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?

3 Answers   HCL,






One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?

4 Answers  


How to create a key field for a logical file inside RPG?

4 Answers   HSBC,


How do you do indexing in a physical file?

2 Answers  


can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?

2 Answers   TCS,


Maximum how many files declare in rpgle

3 Answers   TCS,


two types of read performed in dataqueue?????

4 Answers   CTS,


How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?

11 Answers   Bank Of America, CSC, IBM,






Categories