× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jorge hit it on the head. It was an override problem.
This is the first time I have ever ran in to this. I had an override in my program and when I added the
Dltovr after the program and before the cpyf command it worked.
Thanks to everyone that responded.

William Moore
California Fine Wire
805-489-5144
wjmoore@xxxxxxxxxxxx

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jorge Merino
Sent: Wednesday, February 16, 2011 4:54 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Copy File (CPYF) problem

I suspect an Override before the CPYF. Do a DSPOVR just before your CPYF so you can see if there is any override. If there is overrides you can do DLTOVR FILE(*ALL) to remove them before your CPYF.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Willie J. Moore
Sent: Wednesday, February 16, 2011 3:10 PM
To: 'midrange-l@xxxxxxxxxxxx'
Subject: Copy File (CPYF) problem

When I run the following command from the command line it works:
Cpyf fromfile(qs36f/zzuser2) tofile(amtlib/zzuser2) frommbr(zzuer2) to mbr(zzuser2) mbropt(*add)

When I run this same command from with in a CL, I get the following error:
CPF 2874 - Both to-file and from-file members are the same.

Is there a way to get the copy file command to run in a CL?

Any and all help would be appreciated.

William Moore
California Fine Wire
805-489-5144
wjmoore@xxxxxxxxxxxx

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.