- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- OpenVMS Zip file sent to Unix, text file format co...
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
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
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
тАО10-10-2006 05:25 AM
тАО10-10-2006 05:25 AM
With the help of this forum, I was able to get zip (info zip 2.3) and unzip (info zip 5.50) running on our OpenVMS 7.2-1 Alpha.
Now, I'm trying to share a file with a remote Unix system and can't get the right zip command line options. I've tried -l, -ll and "-V". The "-V" is the only option that allows me to unzip on the Alpha and shows zero changes with Diff. However, on the Unix, they complain of various things.
Using zip -l causes the first record of the unzipped file to contain appended space and/or garbage at the end, making it longer than defined. Using "-V" causes a continuous stream record.
Seems using -ll works for the Unix recipient, but then I can not use the same zip back on VMS, unless maybe I convert it with an FDL.
Thoughts on what I might be doing wrong?
Thanks,
John Farmer
john dot farmer at genworth dot com
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 05:33 AM
тАО10-10-2006 05:33 AM
Re: OpenVMS Zip file sent to Unix, text file format corruped
Are you transferring the file with ftp? If so, are you using a binary format? Don't use the default,which is auto, meaning that ftp will determine to use either binary or ascii.
>>Seems using -ll works for the Unix >>recipient, but then I can not use the >>same zip back on VMS, unless maybe I >>convert it with an FDL
Are you placing this file on an ODS-5 formatted disk? If not, make sure the file name of the zip file is not Unix-friendly but VMS-friendly.
Cheers,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 05:35 AM
тАО10-10-2006 05:35 AM
Re: OpenVMS Zip file sent to Unix, text file format corruped
Before we go any further, please do a DIRECTORY/FULL on the OpenVMS system and post the results here.
Transferring a ZIP archive will require that you use the BINARY option in FTP. The ZIP "-V" option stores the OpenVMS file attributes, which the OpenVMS version of UNZIP understands, but are not useful (or worse than not useful) on an *IX system.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 05:52 AM
тАО10-10-2006 05:52 AM
Re: OpenVMS Zip file sent to Unix, text file format corruped
> of various things.
I'll bet that they see a bunch of NUL
characters (up to 16K of them) at the end
of a file.
> Thoughts on what I might be doing wrong?
I may have suggested this before, but it's
still true. Try _current_ versions of Zip
and UnZip (especially Zip, in this case).
Zip 2.3 with "-V" creates a defective
archive, but its defects are noticed only on
a non-VMS system.
The problem was solved in Zip 2.31 (and is
still solved in the current released version,
2.32, and is expected to stay solved in all
future versions).
http://www.info-zip.org/
http://www.info-zip.org/UnZip.html
http://www.info-zip.org/Zip.html
Note that Zip after 2.3 and UnZip after 5.50
include some VMS-specific I/O speed
improvements, too.
Note that for maximum portability, starting
with text files in Stream_LF format is a very
good idea. I'd expect Zip "-l" and "-ll" to
be pretty useless in your situation, but it
may depend on the file format(s). UnZip has
a "-a" option (also "-aa"), which might be
helpful.
If you still have trouble with "Zip -V"
(using Zip 2.32), please supply a DIRE /FULL
for the original file, and an "od -h" (or
whatever) for a few lines of the resulting
files when unpacked on the UNIX system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 07:26 AM
тАО10-10-2006 07:26 AM
Re: OpenVMS Zip file sent to Unix, text file format corruped
Thanks,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 08:35 AM
тАО10-10-2006 08:35 AM
Re: OpenVMS Zip file sent to Unix, text file format corruped
Ok, but there are kits with VMS binaries
available, too:
http://www.info-zip.org/Zip.html#VMS
For example:
http://vms.process.com/ftp/vms-freeware/fileserv/
The "ZIP.ZIP" kit there seems to offer enough
stuff to allow linking executables back as
far as VMS Alpha V6.2, so that should be good
(well, old) enough for V7.2.
If the executables run at all, "zip -v" and
"unzip -v" should admit which compiler/OS
combination was used to make them. (Exotic
build options can be used to accomodate old
VMS C RTL capabilities, too, so even if it
says something like:
Compiled with DEC C V6.2-003 for OpenVMS (V7.3-2 Alpha) on Jun 26 2006.
if the LINK works, it should be ok.
If nothing works, and if you can't find a
better offer, I may still have a disk with
V7.2 in a closet somewhere, so on a bad day
I could probably build the stuff on a V7.2
system, but I'd expect the kit from
process.com to do the job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 09:51 AM
тАО10-10-2006 09:51 AM
Re: OpenVMS Zip file sent to Unix, text file format corruped
> so I will try to make a new set using
> current source on a 7.2 OpenVMS Alpha
> machine.
At:
http://www.testdrive.hp.com/current.shtml
I see V7.3-2 and V8.2 on Alpha. VMS V7.2
dates back to around 1999, so it's less
popular now than it once was.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2006 01:41 PM
тАО10-14-2006 01:41 PM
Re: OpenVMS Zip file sent to Unix, text file format corruped
Your initial message makes me think that your .ZIP is fine, but the Unix guys can't read the ASCII files -- because they're not ASCII.
Remember. only the STMLF file format is what Unix would consider ASCII. Other text files in VARIABLE format need to be converted to STMLF on VMS, or by a C program on Unix. If they're seeing 2 bytes of "garbage" at the beginning of each line of text, with no CR or LF between, that's your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2006 02:57 PM
тАО10-14-2006 02:57 PM
Solution> be converted to STMLF on VMS, or by a C
> program on Unix.
UnZip's "-a" option should be able to repair
"Record format: Variable length" files, but
the "-V" option in Zip 2.3 causes more
trouble than you might expect. To review the
whole, depressing original (two-year-old)
discussion, see:
http://groups.google.com/group/comp.os.vms/browse_thread/thread/dc6b4e342d0e1944/e72976a8e7827dc8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2006 09:16 AM
тАО12-12-2006 09:16 AM
Re: OpenVMS Zip file sent to Unix, text file format corruped
Thanks,
John