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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm


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