View previous topic :: View next topic
|
Author |
Message |
Saugata.Mukherjee
New User
Joined: 17 Sep 2008 Posts: 5 Location: Trivandrum
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
What does the manual tell you? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What have you tried for yourself and what problems were encountered. |
|
Back to top |
|
|
Saugata.Mukherjee
New User
Joined: 17 Sep 2008 Posts: 5 Location: Trivandrum
|
|
|
|
I am not able to find anything about this in Manual |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Saugata.Mukherjee
New User
Joined: 17 Sep 2008 Posts: 5 Location: Trivandrum
|
|
|
|
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 |
|
|
|