IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ZIP More than one file


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gileshpg

New User


Joined: 22 May 2008
Posts: 27
Location: Bangaluru

PostPosted: Tue May 07, 2013 12:07 pm
Reply with quote

Hi,

I used the below code to ZIP a file to a name ABC1.TXT.
-INDD(INPUT1)
-ARCHOUTDD(OUTARCH)
-TEMP_SPACE_TYPE(CYL)
-TEMP_SPACE_PRIMARY(510)
-TEMP_SPACE_SECONDARY(510)
-NIA(*,ABC1.TXT)
-ZIPPED_DSN_SEPARATOR(.)

Can any one tell me how should I use the code to ZIP more than one mainframe file into a single ZIP file.
The TXT file name for first file should be ABC1.TXT and
Second ABC2.TXT

I need to ZIP both the input to OUTARCH ZIp file.

Thanks,
Gilesh.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue May 07, 2013 12:36 pm
Reply with quote

wouldn' t it be faster to look at the manual, instead of waiting for a forum reply.

for any product the manuals are available to all licensed customers,
ask Your support for them.
Back to top
View user's profile Send private message
gileshpg

New User


Joined: 22 May 2008
Posts: 27
Location: Bangaluru

PostPosted: Tue May 07, 2013 2:06 pm
Reply with quote

Hi Enrico,

The post made because there is very limited support at my end.. icon_biggrin.gif

Thanks,
Gilesh
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue May 07, 2013 2:12 pm
Reply with quote

Quote:
The post made because there is very limited support at my end.


unfortunately a forum is not a substitute for a poor organization,

remember,
we reply on our own time
FREE OF CHARGE

if Your organization does not want to <spend time/resources> on supporting You

you realize that there is no reason for anybody else to ....

hint ...

while on this forum it is not allowed to post links to copyrighted/licensed manuals
if You google You will find that somebody, less law abiding, has posted the full (R) PKzip manuals
Back to top
View user's profile Send private message
gileshpg

New User


Joined: 22 May 2008
Posts: 27
Location: Bangaluru

PostPosted: Wed Jun 05, 2013 10:55 am
Reply with quote

Hi All,

-INDD(INPUT1)
-INDD(INPUT2)
-INDD(INPUT3)
-INDD(INPUT4)
-INDD(INPUT5)
-INDD(INPUT6)
-INDD(INPUT7)
-INDD(INPUT8)
-INDD(INPUT9)
-ARCHOUTDD(OUTARCH)
-TEMP_SPACE_TYPE(CYL)
-TEMP_SPACE_PRIMARY(510)
-TEMP_SPACE_SECONDARY(510)
-ZIPPED_DSN(XXX.XXX.XXX.FILE1,-
ABC1.CCYYMMDD.txt)
-ZIPPED_DSN(XXX.XXX.XXX.FILE2,-
ABC2.CCYYMMDD.txt)
-ZIPPED_DSN(XXX.XXX.XXX.FILE3,-
ABC3.CCYYMMDD.txt)
-ZIPPED_DSN(XXX.XXX.XXX.FILE4,-
ABC4.CCYYMMDD.txt)
-ZIPPED_DSN(XXX.XXX.XXX.FILE5,-
ABC5.CCYYMMDD.txt)
-ZIPPED_DSN(XXX.XXX.XXX.FILE6,-
ABC6.CCYYMMDD.txt)
-ZIPPED_DSN(XXX.XXX.XXX.FILE7,-
ABC7.CCYYMMDD.txt)
-ZIPPED_DSN(XXX.XXX.XXX.FILE8,-
ABC8.CCYYMMDD.txt)
-ZIPPED_DSN(XXX.XXX.XXX.FILE9,-
ABC9.CCYYMMDD.txt)

This will work for the requirement.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jun 05, 2013 3:15 pm
Reply with quote

From curiosity, since you did not specify, are you using PKZIP for MVS, or Info-ZIP or Zip/390? There may be other mainframe ZIP products but I am aware of all three of those.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top