Debian Codegraph @

cmsmvs/README.MVS

raw
1 Thank you for trying this first port of ZIP for VM/CMS and MVS!
2
3
4 Using under MVS:
5 ---------------------------
6
7 1. To use the Info-ZIP's ZIP under MVS you need:
8
9 - C/370 ver 2.1 compiler or another compatible compiler supporting
10 long names for function/variable names.
11
12 2. To compile the program under MVS do :
13
14 - unzip all the files from zip22.zip file. They are stored as
15 ASCII format so you have to unzip them first on PC or other
16 system that already have UNZIP, and then upload them to the
17 mainframe with ASCII to EBCDIC conversion.
18
19 - Copy all the .C files in the PDS called youruserid.ZIP.C
20
21 - Copy all the .H files in the PDS called youruserid.ZIP.H
22
23 - adjust the job ZIPMVSC.JOB to work on your size. Change my
24 userid - C888090 to yours
25
26 - execute the job ZIPMVSC to compile and link all the sources.
27
28 - maybe you have to preallocate PDS datasets named:
29 youruserid.ZIP.OBJ and youruserid.ZIP.LOAD
30
31 - execute ZIPVMC to compile and link all the sources.
32
33 - if everything is ok you will get an ZIP MODULE
34
35 - the warnings about the duplicated ASCII and EBCDIC symbols
36 are OK :-)
37
38 3. Using ZIP
39
40 - Just read MANUAL
41
42 - A few exceptions concerning MVS
43
44 3.1. if you want to make a portable zip file that is to be unzipped
45 on ASCII based systems use the -a option
46
47 3.2. If you want to zip the input files as binary ebcdic files
48 use the -B (capital letter) option
49
50 3.3. The date/end the time of the input files is set in the zip's
51 dir to the current system date/time
52
53 3.4. Without specifying the "-a" or "-B" option, the ZIP program
54 defaults to "native" (EBCDIC) mode and tries to preserve the
55 file information (LRECL,BLKSIZE..)
56 So when you UNZIP a file zipped with ZIP under VM/MVS it
57 restores the file info.
58
59 There currently some problems with file with RECFM=V*
60 I don't save the length of each record yet :-)
61
62 3.5. No wildcards are supported as input file names:
63
64 So you CAN'T use things like: zip myzip *.c
65
66 3.6. You can use DD names for zipfilename for example:
67
68 under tso/rexx:
69
70 "alloc fi(input) da('myzip.zip')"
71 "zip dd:input file1.txt file2.txt ..."
72
73 under Batch:
74
75 //MYZIP JOB (account)
76 //STEP1 EXEC PGM=ZIP,PARM='dd:input file1.txt file2.txt'
77 //STEPLIB DD DSN=userid.UNZIP.LOAD,DISP=SHR
78 //INPUT DD DSN=userid.MYZIP.ZIP,DISP=NEW,
79 // SPACE=(15000,(15000,10000),RLSE),
80 // DCB=(LRECL=80,RECFM=F)
81 //SYSPRINT DD SYSOUT=*
82
83
84 Please report all bugs and problems to :
85 [email protected]
86
87 That's all for now.
88
89 Have fun!
90
91
92 George Petrov