Date: Fri, 28 Jun 2002 08:44:10 -0400
Reply-To: Doug Dame <dameda@SHANDS.UFL.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Doug Dame <dameda@SHANDS.UFL.EDU>
Subject: Re: Error in generaring xport file
Content-Type: text/plain; charset=US-ASCII
Ya Huang wrote:
>> The following code is used to generate xport data
>> sets, it works fine for the first libname, but got errors
>> in the second one, if I switch the two segment of
>> code, still the first one is OK (this time unix002 and
>> pc002).
>> ..........
>> ERROR: File PC002.AEAE.DATA has not been saved
>> because copy could not be completed.
I think this is a crypto-clue that your target destination doesn't have enough free space for both of these datasets.
Remember that if the target file already exists, to protect us from ourselves, the operating system will make a copy of your new data with a temp name. Only if that is successful will the O/S then delete the original file and re-name the temp file to the permanent name. So to overwrite something, the O/S actually needs twice the space of the file d'jour.
Of course, if the file exists but you delete it beforehand, rather than let the O/S do it afterwards, you finesse that potential problem. (Assuming the new file is approximately the same size as the original, of course.)
Douglas Dame
Data Warehousing
Shands HealthCare
Gainesville FL USA
|