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

How to zip a text dataset


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

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Mon Mar 09, 2009 4:21 pm
Reply with quote

How to zip a text dataset? Is it possible to unzip the dataset in windows after FTPing the dataset?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Mar 09, 2009 4:23 pm
Reply with quote

ayansau wrote:
How to zip a text dataset in mainframe?


Run it through your installed PKZIP product.

ayansau wrote:
Is it possible to unzip the dataset in windows after FTPing the dataset?


Yes, absolutely. PKZIP and WinZip are compatible products.
Back to top
View user's profile Send private message
ayansau

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Mon Mar 09, 2009 4:27 pm
Reply with quote

How can I use this utility? I have searched it in mainframe, but not able to find it? Is there any special permition required for this utility, or it is available with mainframe system?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Mar 09, 2009 4:37 pm
Reply with quote

First of all, you may want to review this previous topic which talks about various zip solutions.

Beyond that, you'll have to check with your System Support team to see what if any products have been installed and licensed.
Back to top
View user's profile Send private message
ayansau

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Wed Mar 11, 2009 3:58 pm
Reply with quote

superk wrote:
First of all, you may want to review this previous topic which talks about various zip solutions.

Beyond that, you'll have to check with your System Support team to see what if any products have been installed and licensed.


This code is working for me

Code:
//JSTY0020 EXEC PGM=PKZIP,                           
//            COND=(0,LT)                             
//SYSOUT   DD SYSOUT=*                               
//SYSPRINT DD SYSOUT=*                               
//SYSIN    DD *                                       
-ARCHIVE(XXXXXXX.SVCTOOL.UTILITY.ZIPOUT.ZIP)         
-ARCHBLKSIZ(80)                                       
-ARCHPRIMARY(10)                                     
-ARCHSECONDARY(25)                                   
-ARCHSPACE(CYL)                                       
-ARCHUNIT(SYSDA)                                     
-TEXT                                               
-ADD                                                 
-METHOD(NORMAL)                                       
XXXXXXX.GB.SVCTOOL.ACTREPT.M0201                     
/*                                                   


But its giving output dataset record length as 0
Can I specify any fixed record length??
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 11, 2009 9:17 pm
Reply with quote

Hello,

Suggest you review/post the informational output created by this execution.
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 How to save SYSLOG as text data via P... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top