|
At 09:00 AM 7/7/98 -0500, Bob Luebbe wrote: >We have a problem with a CPYF on V4R1 and V4R2. It does not appear to be a >problem on V3R7 and earlier. > >First we run the command: > OVRDBF FILE(CUSTP01) TOFILE(QTEMP/CUSTP01) > >Then we run the command: > CPYF FROMFILE(WBLUEBBE/CUSTP01) TOFILE(QGPL/CUSTP01) CRTFILE(*YES) > >The following messages are generated by the CPYF command: > File CUSTP01 overridden to CUSTP01 in QTEMP. > From-file CUSTP01 in QTEMP not found. > Copy command ended because of error. > >Since we qualify the CPYF statement with the library on both the FROMFILE >and TOFILE, why is the preceeding OVRDBF overriding the FROM library? Why >isn't this a problem on V3R7 and earlier? Bob, Like you, I was under the impression that CPYF ignored overrides, so I checked the data management guide for V3R1. There is a section entitled "Effect of Overrides on Some System Commands". It lists all of the commands that ignore overrides entirely. CPYF is not listed. This same manual also states that OVRDBF will be ignored for the TOFILE parameter of CPYF when CRTFILE(*YES) is also specified, which explains why CPYF did not complain about copying a file to itself. Pete Pete Hall peteh@inwave.com http://www.inwave.com/~peteh/ +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.