Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Can not delete a zip file while copying from one machine to another.

 
AnjanG
Occasional Contributor

Can not delete a zip file while copying from one machine to another.

I have Open VMS ver 7.2-1.Somebody was trying to copy a Zip file from one machine to another via LAN.

But before copy was completed, the connection broke and there was a file created in the destination directory.

We can see this file by DIR command in destination directory.It show the file name but below in place of block occupied

it shows "NO SUCH FILE" .

 

While deleting it says "NO SUCH FILE IN THE DIRECTORY".

 

Can somebody tell how to delete this file permanently from disk.

 

Attached is the screen shot.

 

Warm Regards

Anjan

2 REPLIES
abrsvc
Respected Contributor

Re: Can not delete a zip file while copying from one machine to another.

The safest way is to use ANALYZE/DISK/REPAIR. This should clean up the directory and relocate the "partial" file into the [SYSLOST] directory. Note: this should be done at a quiet moment with little/no disk activity for the target disk. This utility is documented in the System's Management Utilities manual (Analyze/disk_structure utility).

Dan
Hein van den Heuvel
Honored Contributor

Re: Can not delete a zip file while copying from one machine to another.

 

You can delete the directory entry with $ SET FILE/REMOVE ...

 

There may, or might not, be a temp file corresponding with the transfer.

Wouldn't hurt to do an ANALYZE/DISK to find out and/or repair as per Dan's suggestion.

 

Hein.