PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CPYF not copying all the records

2 posters

Go down

CPYF not copying all the records Empty CPYF not copying all the records

Post  rajkumar400 Sat Dec 25, 2010 2:30 pm

CPYF FROMFILE(FILE1) TOFILE(FILE2) MBROPT(*REPLACE
) FMTOPT(*MAP *DROP)

I get a message Cancel reply received for message CPF502D. Error writing to member FILE1 in file FILE1. 10 records copied to FILE1

Please note File1 has 30 records and FLD1 defined as 5A and 10A in FILE1 and FILE2 respectively.

Why remaining records ( 20) were not copied?

Thanks in advance!

Raj




rajkumar400

Posts : 59
Join date : 2010-12-25

Back to top Go down

CPYF not copying all the records Empty Re: CPYF not copying all the records

Post  soundhar Tue Dec 28, 2010 8:47 pm

Hi,
I hv worked out.For me its working.all records get copied.

Can u provide me more information...

I had a file1 with fld1 5A,file2 with fld1 10A.i had 30 records in file1 and i copied using cpyf wit map....

soundhar

Posts : 67
Join date : 2010-07-14
Location : Vridhachalam/chennai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum