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 compress dataset?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Zai Cabading

New User


Joined: 11 May 2005
Posts: 7

PostPosted: Mon Jun 20, 2005 5:49 pm    Post subject: How to compress dataset?
Reply with quote

Hi All,
could please tell me how can i compress my datasets? Thank you.

Zai
Back to top
View user's profile Send private message

kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Mon Jun 20, 2005 6:35 pm    Post subject:
Reply with quote

hi Zean Zai,

COMPRESS Command

The COMPRESS command compresses partitioned data sets on a specified volume. Compressing (degassing) removes unused space between members in a partitioned data set. Depending on the filtering criteria you specify, you can compress either all or some of the partitioned data sets. This command is useful for compressing system partitioned data sets before you apply maintenance (thus avoiding certain space-related abends).
Note: You must not compress the data sets that contain DFSMSdss or IEBCOPY executable code.
The actual PDS compression is done on the existing volume using the IEBCOPY utility. To prevent loss of data if the system or IEBCOPY
abnormally ends during the processing, back up volumes or data sets that meet the filtering criteria before using the COMPRESS Command.
The COMPRESS command cannot process partitioned data sets that:
o Are unmovable
o Have no directory

The following example compresses a selected partitioned data set.

Code:

//JOB1     JOB  <ACC INFO>,REGION=nnnnK         
//STEP1    EXEC PGM=ADRDSSU                                 
//SYSPRINT DD   SYSOUT=A                                     
//SYSIN    DD   *                                           
 COMPRESS              -                                     
   DYNAM(338000)            /* DYNAM ALLOC VOL 338000        */ -
   EXCLUDE(SYS1.**)       /* EXCL 'SYS1....' DATA SETS     */ -
                                     /* IF THEY MEET THIS CRITERION   */ -
   BY((DSCHA EQ 0))       /* DATA SET WAS BACKED UP        */   
 /*                                                         



Compress partitioned data sets on volume 338000 if:
o They are not system data sets (EXCLUDE(SYS1.**)), and
o They have not been updated (DSCHA EQ 0) since the last time they were backed up (dumped). This ensures that the data set can be recovered if the system fails while the compress operation is running.

Hope this peice of information might help you in some extent.
Back to top
View user's profile Send private message
Zai Cabading

New User


Joined: 11 May 2005
Posts: 7

PostPosted: Wed Jun 22, 2005 11:31 am    Post subject: Re: How to compress dataset?
Reply with quote

Thanks Kanak. icon_smile.gif
Back to top
View user's profile Send private message
Zai Cabading

New User


Joined: 11 May 2005
Posts: 7

PostPosted: Wed Jun 22, 2005 11:32 am    Post subject: Re: How to compress dataset?
Reply with quote

Thanks Kanak. icon_smile.gif
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Fri Jun 24, 2005 10:03 am    Post subject:
Reply with quote

Option 3.1 can be used to compress a dataset.
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 Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
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