Paul, I will post the cpyf command from the cl.
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 paultherrien@xxxxxxxxxxxxxxxxxx
Sent: Wednesday, February 16, 2011 3:36 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Copy File (CPYF) problem
Can you post the cpyf command you are running in the cl. What you are showing does not make sense - unless you have an override database file also in your cl or the job that calls the cl.
Paul Therrien
Andeco Software, LLC
932 Saint Johns Dr
Maryville, TN 37801
225-229-2491
paultherrien@xxxxxxxxxxxxxxxxxx
www.andecosoftware.com
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Willie J. Moore
Sent: Wednesday, February 16, 2011 5: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.