| PKWARE Frequently Asked Questions |
This section lists some common questions about PKZIP for OpenVMS. We hope
you will find this information helpful.
A text version of this FAQ list is also available.
PKZIP for OpenVMS
Q: I've used PKZIP for OpenVMS to compress some text files. When I transferred
this .ZIP file to my PC and unzipped them, there were no carriage returns,
but there are strange binary characters after every line. Why is this?
A: There are many different formats for "text files" under OpenVMS. If
you want to view or edit these files on a PC, they must be converted to
"stream" record format, using the OpenVMS "CONVERT" command. To use this
command, first create a file called STREAM.FDL, containing the following
three lines:
RECORD
CARRIAGE_CONTROL carriage_return
FORMAT stream
After creating this file, type the following command, substituting the
name of the file you wish to convert for "inputfile":
$ CONVERT/FDL=STREAM.FDL inputfile *.*
This will create a new version of the file, having the same text contents
as the original file, but in the "stream" record format. This converted
file, when extracted by PKZIP for DOS or Windows, will be a standard ASCII
text file with CR-LF characters at the end of each line.
Q: I compressed a text file with PKZIP for DOS (or Windows), but when I
try to edit the extracted file under OpenVMS, there are "^M" characters
at the end of each line. Why?
A: Since there are many possible text file formats under OpenVMS, you need
to tell OpenVMS which kind of text file you have. After extracting the
files with PKZIP for OpenVMS, type the following command for each file:
$ EXCHANGE/NETWORK/FDL=STREAM.FDL inputfile *.*
where 'STREAM.FDL' is the same 3-line file created above. This will create
a new version of the file which no longer displays the extraneous "^M"
characters when being edited.
Q: I have an index file with prologs that does not decompress correctly, what am I doing wrong?
A: Currently PKZIP for OpenVMS does not compress files with that attribute. One solution would be to use the OpenVMS "BACKUP" command to create a VMS saveset, and then use PKZIP to compress that saveset.
The "CONVERT", "EXCHANGE", and BACKUP commands are standard OpenVMS utilities,
and are covered in more detail by the appropriate manuals and help system.
If you did not find your question/answer in the preceding FAQ, please
contact us.
PKWARE, Inc. 9025 N Deerwood Dr., Brown Deer, WI 53223
Voice: (414)-354-8699 Fax: (414)-354-8559
Email: info@pkware.com |