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

what is the equivalent keyword for CHAIN opcode ??

7 Answers   TCS,


Why we cannot call a service program? If I add a PEP can i call the service program?

1 Answers   DELL,


suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?

1 Answers  


1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

4 Answers   HCL,


i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program

6 Answers  






ESCAPE message sent by child program can be handled by parent program using which keyword?

2 Answers  


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

2 Answers  


difference betwen keywords and opcodes

3 Answers  


am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me

1 Answers  


Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?

3 Answers   IBM,


which program rpg or cl is efficent to update a transaction onto a database file and why ?

0 Answers   IBM,


Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 Answers  


Categories