Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Problem while Decompressing the ZIP file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Nethraa

New User


Joined: 02 Feb 2010
Posts: 16
Location: chennai

PostPosted: Fri Feb 22, 2019 11:41 pm    Post subject: Problem while Decompressing the ZIP file
Reply with quote

Hi All,

I am using PKZIP utility to Zip the file as below.

//SYSIN DD *
-ECHO
-ARCHOUTDD(OUTARCH)
-INDD(INPUT)
-DATA_TYPE(TEXT)
-TEMP_SPACE_PRIMARY(1000)
-DATA_DELIMITER(CRLF)
-FILE_TERMINATOR()
-COMPRESSION_LEVEL(NORMAL)
-GZIP
//*


After zipping , using NDM process sending the Zipped file to the customer.
But when the customer decrypt and decompress they are not archived into a single file, instead they get back a folder1/file. Actually the folder structure is created which is not correct. It needs to be archived as single file.

Could you please help me to resolve this issue.

Thank you,
Nethraa.
Back to top
View user's profile Send private message

vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1649
Location: The Good Place

PostPosted: Sat Feb 23, 2019 2:13 am    Post subject:
Reply with quote

Hello,

Try adding this statament to the control cards and see if it works.

Code:
-ZIPPED_DSN(*.*,SOMENAME.TXT)


Code:
-ECHO                         
-ARCHOUTDD(OUTARCH)           
-INDD(INPUT)                 
-DATA_TYPE(TEXT)             
-TEMP_SPACE_PRIMARY(1000)     
-DATA_DELIMITER(CRLF)         
-FILE_TERMINATOR()           
-ZIPPED_DSN(*.*,SOMENAME.TXT)
-COMPRESSION_LEVEL(NORMAL)   
-GZIP                         
//*
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10626
Location: italy

PostPosted: Sat Feb 23, 2019 2:39 am    Post subject: Reply to: Problem while Decompressing the ZIP file
Reply with quote

did You zip a PDS dataset ?
Back to top
View user's profile Send private message
Nethraa

New User


Joined: 02 Feb 2010
Posts: 16
Location: chennai

PostPosted: Sat Feb 23, 2019 2:51 am    Post subject: Reply to: Problem while Decompressing the ZIP file
Reply with quote

Hi Eric,

I have zipped the GDG file.

Thank you,
Nethraa.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Sat Feb 23, 2019 3:13 am    Post subject: Reply to: Problem while Decompressing the ZIP file
Reply with quote

Have you talked to the vendor? If not, why not? I would expect, since a GDG can have many generations, that GDG compression would create a folder for the GDG base name inside the ZIP and each generation would be a file inside that folder. It sounds like that is what happened with your PKZIP. If you want other behavior, you will need to consult the PKZIP manual (or the vendor) to find out how to do what you want.
Back to top
View user's profile Send private message
Nethraa

New User


Joined: 02 Feb 2010
Posts: 16
Location: chennai

PostPosted: Sat Feb 23, 2019 3:36 am    Post subject:
Reply with quote

Hi Robert,

Thank you for the input. I will look into the manual and check with vendor as well.


Thanks and regards,

Nethraa.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10626
Location: italy

PostPosted: Tue Feb 26, 2019 4:47 pm    Post subject: Reply to: Problem while Decompressing the ZIP file
Reply with quote

until You tell more about the dataset You are trying to zip
there is NOTHING we can do.

post the info You get from the ISPF 3.2 panel
Code:
2  Data Set    Allocate, rename, delete, catalog, uncatalog, or display
                  information of an entire data set
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 Need help in parsing record in VBA file guptae DFSORT/ICETOOL 2 Fri Oct 11, 2019 2:31 pm
No new posts What 'EF' in the CAFC command REGION,... vrkratheesh CICS 2 Wed Sep 18, 2019 4:52 pm
No new posts Can we pass the value of Symbolic par... Poha Eater JCL & VSAM 5 Thu Sep 05, 2019 2:21 pm
No new posts Search the strings present in ps file... Bhuvana Narasimhan All Other Mainframe Topics 8 Thu Aug 22, 2019 8:20 pm
No new posts Concatenate two files of variable rec... Thiru S DFSORT/ICETOOL 3 Wed Aug 21, 2019 11:53 pm

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