|
View previous topic :: View next topic
|
| Author |
Message |
shankarm
Active User

Joined: 17 May 2010 Posts: 175 Location: India
|
|
|
|
| I wanted to ZIP 10 files. Do i need to create 10 steps in JCL by using PKZIP utility or do we have any other option to change sysin card alone? |
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
What have you tried and what happened.
Have you searched the forum and google ? |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
| and above all, have You looked at the ZIP manuals ? |
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
Yes Enrico, I have,
It took me about 40 minutes to locate, download and read the relevant sections of the manuals, and about another 10 in testing and trying things out, and YES it can be done  |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
Well Expat,
I am sure that You would have done that,
not much about the average forumite  |
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
Enrico
"forumite"
Just love it
 |
|
| Back to top |
|
 |
shankarm
Active User

Joined: 17 May 2010 Posts: 175 Location: India
|
|
|
|
Hi,
I understand that the question is silly,
I tried giving all the ten input files in ten DD statements and ten files for the output. All the ten input files are zipped into a single output.
Usually we access the manuals from our local repositary itself.
Unfortunately I dont have details about pkzip manual here in my Organization.
Here is what i tried,
| Code: |
//ZIP EXEC PGM=PKZIP
//SYSPRINT DD SYSOUT=*
//OUT1 DD DSN=COG.DIVDMONT.DNBIY.ZIP1,
// DISP=(,CATLG,DELETE),
// DCB=(BLKSIZE=0,RECFM=FB),
// UNIT=SYSDA,SPACE=(CYL,(100,0),RLSE)
//OUT2 DD DSN=COG.DIVDMONT.DNBIY.ZIP2,
// DISP=(,CATLG,DELETE),
// DCB=(BLKSIZE=0,RECFM=FB),
// UNIT=SYSDA,SPACE=(CYL,(100,0),RLSE)
//OUT3 DD DSN=COG.DIVDMONT.DNBIY.ZIP3,
// DISP=(,CATLG,DELETE),
// DCB=(BLKSIZE=0,RECFM=FB),
// UNIT=SYSDA,SPACE=(CYL,(100,0),RLSE)
//OUT4 DD DSN=COG.DIVDMONT.DNBIY.ZIP4,
// DISP=(,CATLG,DELETE),
// DCB=(BLKSIZE=0,RECFM=FB),
// UNIT=SYSDA,SPACE=(CYL,(100,0),RLSE)
//OUT5 DD DSN=COG.DIVDMONT.DNBIY.ZIP5,
// DISP=(,CATLG,DELETE),
// DCB=(BLKSIZE=0,RECFM=FB),
// UNIT=SYSDA,SPACE=(CYL,(100,0),RLSE)
//OUT6 DD DSN=COG.DIVDMONT.DNBIY.ZIP6,
// DISP=(,CATLG,DELETE),
// DCB=(BLKSIZE=0,RECFM=FB),
// UNIT=SYSDA,SPACE=(CYL,(100,0),RLSE)
//INPUT1 DD DSN=COG.DIVDMONT.DNBIY.SASDATA1,DISP=SHR
//INPUT2 DD DSN=COG.DIVDMONT.DNBIY.SASDATA2,DISP=SHR
//INPUT3 DD DSN=COG.DIVDMONT.DNBIY.SASDATA3,DISP=SHR
//INPUT4 DD DSN=COG.DIVDMONT.DNBIY.SASDATA4,DISP=SHR
//INPUT5 DD DSN=COG.DIVDMONT.DNBIY.SASDATA5,DISP=SHR
//INPUT6 DD DSN=COG.DIVDMONT.DNBIY.SASDATA6,DISP=SHR
//SYSIN DD DSN=COG.DNBI.SAS(ZIPDATA1),DISP=SHR |
ZIPDATA1:
| Code: |
-ECHO
-TEXT
-ARCHOUTDD(OUT1)
-INDD(INPUT1)
-ARCHOUTDD(OUT2)
-INDD(INPUT2)
-ARCHOUTDD(OUT3)
-INDD(INPUT3)
-ARCHOUTDD(OUT4)
-INDD(INPUT4) |
Am not sure where to find the answer, Please help me learn. |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
did You care to read and try to understand Expat' s reply
| Quote: |
| It took me about 40 minutes to locate, download and read the relevant sections of the manuals, and about another 10 in testing and trying things out, and YES it can be done |
looks like not
what about showing a bit of ingenuity and google for example for PKZIP MANUALS
in order to find ( guess what ? )
www.pkware.com/documents/manuals/PKMU-V5R5000.pdf
or lots of other pkzip related stuff at
www.pkware.com
www.pkware.com/support/zos
note that the current manuals are available for download to all licensed customers |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|