Using Zip
Mike Palandri
palandri@4j.lane.edu
Mon, 02 Nov 1998 06:24:32 -0800
At 12:50 PM 11/02/1998 +0000, Ray Bailey wrote:
>Hello again - I recently asked if anyone knew how I could FTP/Email
Quick
>screens.
>
>Most of those who replied suggested that I use ZIP.
>
>Problem.
>
>1. Wrote and compiled a simple screen.
>2. Ran okay using QUICK AUTO=TEST.QKC
>3. Then Zipped the file - ZIP TEST.ZIP TEST.QKC
>4. Deleted TEST.QKC
>5. Then UnZipped the file - UNZIP TEST.ZIP
> Says inflating and seems to work okay.
>
>When I try to run the UnZipped version of the QKC I get
> Invalid QKGO file
>
>
>What I am doing wrong ??
>
>PS Similar problem with Backup Files being Zipped.
I had a similar problem with zip. Turned out I needed to specify the
"-V" command line option to save VMS file attribs. The V is upper case
and the double quoutes must be specified as part of the option. Tried
zipping and unzipping the qkgo files for one of our test systems and it
worked fine.
The zip program:
Copyright (C) 1990-1993 Mark Adler, Richard B. Wales, Jean-loup Gailly
and Igor Mandrichenko. Type 'zip "-L"' for software license.
Zip 2.0 (Sept 7th 1993). Usage:
The unzip program:
UnZip 5.1 of 7 February 1994, by Info-ZIP. Portions (c) 1989 by S. H.
Smith.
Send bug reports to authors at zip-bugs@wkuvx1.wku.edu; see README for
details.
I think bot cane from MadGoat:
ftp://ftp.wku.edu/madgoat/
=====================================================================
Test > dir subqkgo*.*
Directory $1$DKB506:[SUBTEST.EXE]
SUBQKGO.QKG;8 90/90 22-JUN-1998
05:53:01.88
SUBQKGOB.DAT;8 57/57 22-JUN-1998
05:53:02.11
SUBQKGOK.DAT;8 93/93 22-JUN-1998
05:53:02.72
SUBQKGOT.DAT;8 12/12 22-JUN-1998
05:53:03.05
Total of 4 files, 252/252 blocks.
Test > me
Current directory is:
"CURRDIR" = "SUBTEST_DISK:[SUBTEST.EXE]" (LNM$PROCESS_TABLE)
Test > zip "-V" myzip subqkgo*.*
adding: subqkgo.qkg (deflated 98%)
adding: subqkgob.dat (deflated 81%)
adding: subqkgok.dat (deflated 75%)
adding: subqkgot.dat (deflated 93%)
Test > del subqkgo*.*;*
%DELETE-I-FILDEL, $1$DKB506:[SUBTEST.EXE]SUBQKGO.QKG;8 deleted (90
blocks)
%DELETE-I-FILDEL, $1$DKB506:[SUBTEST.EXE]SUBQKGOB.DAT;8 deleted (57
blocks)
%DELETE-I-FILDEL, $1$DKB506:[SUBTEST.EXE]SUBQKGOK.DAT;8 deleted (93
blocks)
%DELETE-I-FILDEL, $1$DKB506:[SUBTEST.EXE]SUBQKGOT.DAT;8 deleted (12
blocks)
%DELETE-I-TOTAL, 4 files deleted (252 blocks)
Test > dir *.zip
Directory $1$DKB506:[SUBTEST.EXE]
MYZIP.ZIP;1 42/42 2-NOV-1998
06:14:36.36
Total of 1 file, 42/42 blocks.
Test > unzip myzip
Archive: $1$DKB506:[SUBTEST.EXE]MYZIP.ZIP;1
inflating: subqkgo.qkg
inflating: subqkgob.dat
inflating: subqkgok.dat
inflating: subqkgot.dat
Test > quick auto=subqkgo
==========================================================================
=====
Mike