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


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.