- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- problem unzipping data
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 03:42 AM
06-21-2005 03:42 AM
$ ZIP -9 -R DICOM DICOM_JUNK.DIR
adding dicom_junk/prac.dcm (deflated 18%)
adding dicom_junk/prac1.dcm (deflated 18%)
adding dicom_junk/prac2.dcm (deflated 18%)
adding dicom_junk/prac3.dcm (deflated 18%)
$ DIR
Directory DISK2:[MICROCT.NIPUN.JUNK]
DICOM.ZIP;1 DICOM_JUNK.DIR;1 STREP_TRAB5.TXT;1 STYROFOAM.TXT;1
TEST.ZIP;1 ZIPINFO.TXT;1
$ ZIP
Copyright (C) 1990-1992 Mark Adler, Richard B. Wales, Jean-loup Gailly,
Kai Uwe Rommel and Igor Mandrichenko. Type 'zip -L' for the software license.
Zip 1.9 (Aug 26th 1992). Usage:
zip [-options] [-b path] [-t mmddyy] [-n suffixes] [zipfile list] [-x list]
The default action is to add or replace zipfile entries from list, which
can include the special name - to compress standard input.
If zipfile and list are ommitted, zip compresses stdin to stdout.
-f freshen: only changed files -u update: only changed or new files
-d delete entries in zipfile -m move into zipfile (delete files)
-k simulate PKZIP made zipfile -g allow growing existing zipfile
-h show this help -L show software license
-r recurse into directories -j junk (don't record) directory names
-0 store only -l translate end-of-line
-1 compress faster -9 compress better
-q quiet operation -n don't compress these suffixes
-c add one-line comments -z add zipfile comment
-b use "path" for temp files -t only do files after "mmddyy"
-@ read names from stdin -o make zipfile as old as latest entry
-w append the VMS version number to the name stored in the zip file
-V save VMS file attributes
-x exclude the names that follow from those operated on
When I ftpied a set of "image files" to windows and unzipped them using winzip it worked fine. However, when I tried with a different set of files, I couldn't unzip them.
It says operation failed. Would using PKUZIP help. We often have huge data on OpenVMS that we need to move to Windows machine. So it seems practical to have a reliable method to zip and unzip data.
Any suggestions and comments would be helpful
Nipun
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 04:02 AM
06-21-2005 04:02 AM
Re: problem unzipping data
Winzip and Power Archiver didn't work
When I used PKZIP
it gave the following message
Warning: The file has bad table
(W15) Warning The file fails CRC check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 04:22 AM
06-21-2005 04:22 AM
Re: problem unzipping data
for me:
1.Update zip version; I use V2.3, I know there is V2.4 avaiable.
2.I never used -9 option, try without it.
3.Try with -j (junk directory name); I think windows may have trouble with vms names.
You can also test with "-T" option.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 04:27 AM
06-21-2005 04:27 AM
Re: problem unzipping data
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 09:15 PM
06-21-2005 09:15 PM
SolutionZIP:
Copyright (C) 1990-1996 Mark Adler, Richard B. Wales, Jean-loup Gailly
Onno van der Linden, Christian Spieler and Igor Mandrichenko.
Type 'zip "-L"' for software license.
This is Zip 2.1 (April 27th 1996), by Info-ZIP.
UNZIP:
UnZip 5.42 of 14 January 2001, by Info-ZIP. Maintained by C. Spieler. Send
Our files are always zipped with "-V" option, that will preserver the attributes.
Zip files are then FTP'd (binary, of course) to PC, send over the network and FTP'd to VMS again on the other size (again: binary) and unzipped on VMS. It works for any type of file, No problem, whatsoever, unzipping them on Windows either.
The only requirement is proper (that is: binary) tarnsfer from VMS to Windows.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 10:13 PM
06-21-2005 10:13 PM
Re: problem unzipping data
V2.3 zip, unzip V5.52 (feb 2005)
are obtainable from
http://h71000.www7.hp.com/freeware/freeware70/000tools/alpha_images/
http://h71000.www7.hp.com/freeware/freeware70/000tools/vax_images/
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 11:16 PM
06-21-2005 11:16 PM
Re: problem unzipping data
Heve you used binary mode for ftp? If you use ascii mode when ftp zip files these are corrupted.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 11:31 PM
06-21-2005 11:31 PM
Re: problem unzipping data
unzipping is being done with unzip
unzip
with zip i user always the -v (vms file attributes).
if you transport the file by ftp use always binairy, and do not open the file with winzip, or unzip on a otther OS because you will lose the VMS file attributes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2005 02:04 AM
06-22-2005 02:04 AM
Re: problem unzipping data
No problem as long as you do not transfer the exported files to VMS (or any other OS), since UNZIP will use that system's filesystem (and therfore, render the files troublesome on other).
In this case, the target system is Windows and extracting the files is no problem. However, be aware that the VMS record attributes can introduce "weird behaviour" on Windows - see http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=908249 for an example.
(BTW, latest verions are preferable, not required)
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2005 01:48 AM
06-23-2005 01:48 AM
Re: problem unzipping data
Thank again for your help. William I will keep -v option in mind next time I use the zip tool.
I will also consider upgrading to lates zip version.
For now I will follow up on William's suggestion and see how things work. As I have to finally read the files on Windows. I had not mentioned one fact which now I think might be important.
After I had ftpied the files (in binary mode) to windows machine I had burned them directly to a DVD. So I was in the end trying to unzip from the burned files. Could that have any contribution to my problem or should I experiment and find out :).
Nipun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 01:10 AM
07-06-2005 01:10 AM