Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to zip a text dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: How to zip a text dataset
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

Moderator Team Head


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

PostPosted: Mon Mar 09, 2009 4:23 pm    Post subject: Re: How to zip a text dataset in mainframe?
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    Post subject:
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

Moderator Team Head


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

PostPosted: Mon Mar 09, 2009 4:37 pm    Post subject: Reply to: How to zip a text dataset in mainframe?
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    Post subject: Re: Reply to: How to zip a text dataset in mainframe?
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

Site Director


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

PostPosted: Wed Mar 11, 2009 9:17 pm    Post subject:
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    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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us