README.MVS 2.8 KB

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