IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

PKZIP - extracting multiple txt files


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
drarem

New User


Joined: 07 Jan 2006
Posts: 10

PostPosted: Tue Jul 07, 2020 8:47 pm
Reply with quote

I've been searching and having a rough time finding something on this.

Going from a mainframe to a PC, if I zip 1 text file, it unzips correctly on the PC:

P241.D16REPORT.D200707.txt

If I zip 2 text files, on the PC it unzips creating two folders on windows:
p241->D16report->D200707 (containing a file called 'txt')
p241->D18report->D200707 (containing a file called 'txt')

Is it possible to have both unzipped as they were zipped on the mainframe? If so how?

Options are:
-echo
-viewdetail
-archive(P241.D16.D18.D200707.zip)
-archunit(3390)
-archspace(cyl)
-temp_space..
-temp_space..
-temp_space..
P241.D16REPORT.D200707.txt
P241.D18REPORT.D200707.txt

Thanks.
Back to top
View user's profile Send private message
drarem

New User


Joined: 07 Jan 2006
Posts: 10

PostPosted: Tue Jul 07, 2020 9:03 pm
Reply with quote

My bad, it doesn't unzip correctly with 1 file either. I would like to unzip them as they appear on the mainframe, with periods and the .txt at the end on extraction.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Tue Jul 07, 2020 9:35 pm
Reply with quote

Something that would help improve the quality of the responses you get -- TELL US WHICH ZIP PRODUCT YOU ARE USING ON THE MAINFRAME!
Back to top
View user's profile Send private message
drarem

New User


Joined: 07 Jan 2006
Posts: 10

PostPosted: Wed Jul 08, 2020 1:08 am
Reply with quote

PKZIP is the product.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top