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

Is it possible to ZIP more than one file in one PKZIP STEP


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

New User


Joined: 17 Sep 2008
Posts: 5
Location: Trivandrum

PostPosted: Wed Jul 08, 2009 7:10 pm
Reply with quote

Hi,

I want to ZIP more than one file (say two) in one PKZIP step and place it in different archive outfiles. What i want to ask is "Is it possible to ZIP more than one file in one PKZIP STEP and put those in different archives"

Is it possible to mention more than one ARCHIVE_OUTFILE parameters in a PKZIP step.

If yes can you please provide the code or syntax of how to do it.

Thanks in advance for your help.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed Jul 08, 2009 7:17 pm
Reply with quote

What does the manual tell you?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jul 08, 2009 7:24 pm
Reply with quote

What have you tried for yourself and what problems were encountered.
Back to top
View user's profile Send private message
Saugata.Mukherjee

New User


Joined: 17 Sep 2008
Posts: 5
Location: Trivandrum

PostPosted: Wed Jul 08, 2009 7:40 pm
Reply with quote

I am not able to find anything about this in Manual
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed Jul 08, 2009 8:04 pm
Reply with quote

The lack of information in the manual does not suggest anything to you?

I use Data 21's ZIP-390 on the mainframe, not PKZIP, and their documentation is quite clear -- you cannot have more than one file in a ZIP archive with ZIP-390.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Jul 08, 2009 9:17 pm
Reply with quote

I don't see anything in the documentation that says you can't, but I have no way to confirm or deny that.
Back to top
View user's profile Send private message
Saugata.Mukherjee

New User


Joined: 17 Sep 2008
Posts: 5
Location: Trivandrum

PostPosted: Thu Jul 09, 2009 11:39 am
Reply with quote

Hi,

I have tried the below code but that has not been able to solve my problem.
My SYSIN card is as follows
Code:

-DATA_TYPE(TEXT)                                               
-TRANSLATE_TABLE_DATA(EBC#8859)                               
-DATA_DELIMITER(CRLF)                                         
-FILE_TERMINATOR()                                             
-ARCHIVE_OUTFILE(ZIPOUT1)                                     
-ARCHIVE_COMMENT(MNO)                       
-PASSWORD()                                                   
-ENCRYPTION_METHOD(STANDARD)                                   
-ACTION(ADD)                                                   
-INFILE(INFILE1)                                               
-ZIPPED_DSN(ABC.DEF,08-07-2008_3rdzip.xls)
-DATA_TYPE(TEXT)                                               
-TRANSLATE_TABLE_DATA(EBC#8859)                               
-DATA_DELIMITER(CRLF)                                         
-FILE_TERMINATOR()                                             
-ARCHIVE_OUTFILE(ZIPOUT2)                                     
-ARCHIVE_COMMENT(PKM)                     
-PASSWORD()                                                   
-ENCRYPTION_METHOD(STANDARD)                                   
-ACTION(ADD)                                                   
-INFILE(INFILE2)                                               
-ZIPPED_DSN(GHI.JKL,08-07-2008_4thzip.xls)


I thought that this code will send 3rdzip.xls to ZIPOUT1 and 4thzip.xls to ZIPOUT2.

But what this do is it put both 3rdzip.xls and 4thzip.xls into ZIPOUT2 and ZIPOUT1 is getting nothing.

Now my question is is there any way to mention in -ARCHIVE_OUTFILE which zip file to take into the archive ??

Or is there any otherway to do it? May be using some different parameter??
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
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
Search our Forums:

Back to Top