× 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.



Well, play with it and see what happens. I THINK if you qualify the
library on the from/to then you're OK, if you DON'T it may use the
OVR's....but I'd have to test it and see...which is what I recommend you
do....

/DR2

On 2023-06-19 14:44, paultherrien@xxxxxxxxxxxxxxxxxx wrote:

I'm pretty certain that CPYF is override aware. I have gotten CPYF failures when the CPYF command would tell me that target and source file are the same due to overrides.

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Peter Dow
Sent: Monday, June 19, 2023 2:33 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Can someone post the link to get to the CL reference?

Hi Alan,

You're right, finding which commands ignore OVRDBF was not as simple as it should be. I double checked that the CPYF command doesn't say, then looked at the OVRDBF command, which says look in the Info Center. Which I did, but had to try a few searches before finding this:

https://www.ibm.com/docs/en/i/7.4?topic=overrides-effect-some-commands

CPYF does not appear in the list of commands that ignore OVRDBF, so presumably it honors the override.

You could also test it by doing an override, then a CPYF.

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx
pdow@xxxxxxxxxxxxxx /

On 6/19/2023 9:01 AM, Alan Cassidy wrote: Here was my question, anyway, and the CPYF reference didn't help:

Does the CPYF command respect the file overrides in place? I know that
there are a few commands that do not.

--Alan

On 6/19/2023 11:58 AM, Alan Cassidy wrote: I think I got it.

Using three keywords, '"_ibm i" CL cpyf_" I got the more general "CL
Programming"
(https://www.ibm.com/docs/en/i/7.4?topic=language-cl-programming) and
the directory of commands
https://www.ibm.com/docs/en/i/7.4?topic=language-alphabetic-list-cl-commands-by-command-name.

The trick was to include the command I was looking for, CPYF.

On 6/19/2023 11:50 AM, Alan Cassidy wrote: Just that. I've spent an undue chuck of time trying to find the
right combination of search words and get too much riff-raff in the
results. Lots of relevant CL links but not the reference to the
commands. Never had such a hard time before.

So also is there a good IBM link where the references are listed?

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

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

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.