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: 7995
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: 7995
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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