Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

PKZIP 10 files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
shankarm

Active User


Joined: 17 May 2010
Posts: 175
Location: India

PostPosted: Thu Nov 18, 2010 4:13 pm    Post subject: PKZIP 10 files
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Nov 18, 2010 4:16 pm    Post subject:
Reply with quote

What have you tried and what happened.
Have you searched the forum and google ?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Nov 18, 2010 7:07 pm    Post subject: Reply to: PKZIP 10 files
Reply with quote

and above all, have You looked at the ZIP manuals ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Nov 18, 2010 7:10 pm    Post subject:
Reply with quote

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 icon_eek.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Nov 18, 2010 7:13 pm    Post subject: Reply to: PKZIP 10 files
Reply with quote

Well Expat,
I am sure that You would have done that,
not much about the average forumite icon_biggrin.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Nov 18, 2010 7:22 pm    Post subject:
Reply with quote

Enrico

"forumite"

Just love it
icon_lol.gif icon_lol.gif icon_lol.gif
Back to top
View user's profile Send private message
shankarm

Active User


Joined: 17 May 2010
Posts: 175
Location: India

PostPosted: Mon Nov 22, 2010 12:20 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Mon Nov 22, 2010 12:31 pm    Post subject: Reply to: PKZIP 10 files
Reply with quote

did You care to read and try to understand Expat' s reply icon_confused.gif
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 icon_evil.gif


what about showing a bit of ingenuity and google for example for PKZIP MANUALS
in order to find ( guess what ? )
http://www.pkware.com/documents/manuals/PKMU-V5R5000.pdf
or lots of other pkzip related stuff at
http://www.pkware.com
http://www.pkware.com/support/zos

note that the current manuals are available for download to all licensed customers
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us