CPYFRMQRYF Questions

1

OPNQRYF & CPYFRMQRYF error
The log is: output file file1 created file1 added to library mmember of file1 is opened in library. data option was not allowed with open option error reading member file1 in file1 0 records copied to file2

Answer Question   |  October 16, 2012  8:13 AM
CPYFRMQRYF, OPNQRYF, RPGLE
asked by:
270 pts.

CPF2972
Hi, when i am using a the CPYFRMQRYF command am getting the error message error writing to member &3 in file &1(with the message ID CPF2972). Could you please advice as how i can overcome this?    

Answer Question   |  May 9, 2012  7:32 AM
CPYFRMQRYF, IBM
asked by:
Rje
5 pts.

CL Code: Cpyfrmqryf ends because of error
My CL code works up until it gets to the Cpyfrmqryf then the program ends with an message stating ” Copy command ended because of error” but not what error how can you fix it if you don’t know the error?

Answer Question   |  June 3, 2010  3:18 PM
CL Commands, CL Errors, CPYFRMQRYF
asked by:
5 pts.

OPNQRYF
I have 4-fileds on Display File like frdiv(zoned),todiv(zoned),frpr(char),topr(char) all the fields are of size 2 only. I am using a “OPNQRYF” to filter the records froma Physical file (pfdiv), it containes 1,25,000 records . Through this openqryf all the selected records I will copy to a file (pftemp) using “CPYFRMQRYF”. Then I will use the [...]

Answer Question   |  February 2, 2009  2:21 PM
CL/400, Copy from Query File, CPYFRMQRYF, Open Query File, OPNQRYF, Physical File, RPG/400
asked by:
90 pts.

1