Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 4650
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 Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Sorting on text - but in non-alphabet... Roy Ware SYNCSORT 5 Wed Aug 23, 2017 9:15 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm

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