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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Is it possible to ZIP more than one file in one PKZIP STEP
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: 7932
Location: Bellevue, IA

PostPosted: Wed Jul 08, 2009 7:17 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 08, 2009 7:24 pm    Post subject:
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    Post subject:
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: 7932
Location: Bellevue, IA

PostPosted: Wed Jul 08, 2009 8:04 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Wed Jul 08, 2009 9:17 pm    Post subject: Reply to: Is it possible to ZIP more than one file in one PK
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    Post subject: Reply to: Is it possible to ZIP more than one file in one PK
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    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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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