IUBio

LZDCM on binary files (Re: uncompressing files for GCG)

Reinhard Doelz doelz at comp.bioz.unibas.ch
Tue Aug 3 01:01:02 EST 1993


In article <23jmetINNen7 at phage.cshl.org>, oconnorb at phage.cshl.org ( CSHL) writes:
|> I have had trouble uncompressing files with the command LZDCMP -X2.
My comments refer to the version of LZDCM we run here but I suspect it is 
identical in behaviour. 
|> I ftp to NCBI and get flatfiles of SWISSPROT and PROSITE.  This also
|> occurs when I ftp to fconvx.ncifcrf.gov for GenPept.  When I begin
|> to uncompress the files I get the following error message:
|> ACCESS VIOLATION, REASON MASK=04, VIRTUAL ADDRESS=000021FF
|> SYMBOLIC STACK FOLLOWS...

I suspect that you need to transfer the files in binary mode. Depending 
from your setup, you start FTP will transfer only as ASCII mode. During 
the transfer you see literally no difference, e.g. 

FTP> get xembl.ref.Z xembl.ref_Z
200 PORT command successful.
150 Opening ASCII mode data connection for xembl.ref.Z (1952402 bytes).
226 Transfer complete.
local: XEMBL.REF_Z  remote: xembl.ref.Z
1952402 bytes received in 00:00:08.57 seconds
FTP> bin
200 Type set to I.
FTP>  get xembl.ref.Z xembl.ref__Z
200 PORT command successful.
150 Opening BINARY mode data connection for xembl.ref.Z (1952402 bytes).
226 Transfer complete.
local: XEMBL.REF__Z  remote: xembl.ref.Z
1952402 bytes received in 00:00:06.00 seconds
FTP> exit

However, the files uncompress differently: 
yogi >  lzdcm  xembl.ref__Z test.1
yogi >  lzdcm  xembl.ref_Z test.2
Incorrect first header byte 0xCD
Error when decompressing "xembl.ref_z" to "test.2"
%F, abort

and have different RMS attributes: 
yogi >  dir/full *.*Z

Directory D$DAY:[DOELZ]

XEMBL.REF_Z;1                 File ID:  (902,3481,0)
Size:         3841/3843       Owner:    [BIOGEN,DOELZ]
Created:   3-AUG-1993 07:51:55.72
Revised:   3-AUG-1993 07:52:04.45 (1)
Expires:   <None specified>
Backup:    <No backup recorded>
File organization:  Sequential
File attributes:    Allocation: 3843, Extend: 0, Global buffer count: 0
                    No version limit
Record format:      Variable length, maximum 4168 bytes
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWE, Owner:RWED, Group:, World:
Access Cntrl List:  None

XEMBL.REF__Z;1                File ID:  (904,3990,0)
Size:         3814/3816       Owner:    [BIOGEN,DOELZ]
Created:   3-AUG-1993 07:52:13.98
Revised:   3-AUG-1993 07:52:20.08 (1)
Expires:   <None specified>
Backup:    <No backup recorded>
File organization:  Sequential
File attributes:    Allocation: 3816, Extend: 0, Global buffer count: 0
                    No version limit
Record format:      Fixed length 512 byte records
Record attributes:  None
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RWED, World:RWED


So the advice would be to retry and make sure to be in binary mode 
during transfer ('bin' is the command on the ftp prompt). May I further
suggest to try a small file first to save network bandwidth. 

Regards
Reinhard 

PS: I believe this has nothing to do with GCG   :-)  

-- 
+----------------------------------+-------------------------------------+
|    Dr. Reinhard Doelz            | RFC     doelz at urz.unibas.ch         |
|      Biocomputing                | DECNET  20579::48130::doelz         |
|Biozentrum der Universitaet       | X25     022846211142036::doelz      |
|   Klingelbergstrasse 70          | FAX     x41 61 261- 6760 or 267- 2078     
|     CH 4056 Basel                | TEL     x41 61 267- 2076 or 2247    |   
+------------- bioftp.unibas.ch is the SWISS EMBnet node ----------------+
                     ftp mirror at nic.switch.ch 
               -----------------------------------------



More information about the Info-gcg mailing list

Send comments to us at biosci-help [At] net.bio.net