Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8166
Location: East Dubuque, Illinois, USA

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: 8166
Location: East Dubuque, Illinois, USA

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: 4650
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us