GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 121 of 128    Print  
compress PDS
how did you compress a pds? explain in detail?


  
Total Answers and Comments: 5 Last Update: May 19, 2009     Asked by: medamahendra 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Gousiya Mulla
 
After a PDS has been subjected to a high volume of activity such as replacing members, adding new member and deleting members there may be unusable gaps or spaces between members stored within the PDS. A compress function using IEBCOPY is provided to compress the members and consolidate all the gaps or spaces into a single area within the PDS.

Ex: Command :
//COMPRESS DD  DISP=SHR,DSN=MFI01.SIMOPROD.JCLPROC1
//SYSIN    DD  *
COPY INDD=COMPRESS,OUTDD=COMPRESS
/*

Above answer was rated as good by the following members:
medamahendra, vimalesh.b, hariprasad.mail2shp
June 20, 2008 09:59:01   #1  
Gousiya Mulla Member Since: June 2008   Contribution: 3    

RE: compress PDS
After a PDS has been subjected to a high volume of activity such as replacing members adding new member and deleting members there may be unusable gaps or spaces between members stored within the PDS. A compress function using IEBCOPY is provided to compress the members and consolidate all the gaps or spaces into a single area within the PDS.

Ex: Command :
//COMPRESS DD DISP SHR DSN MFI01.SIMOPROD.JCLPROC1
//SYSIN DD *
COPY INDD COMPRESS OUTDD COMPRESS
/*

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
April 15, 2009 17:56:56   #2  
dhs01 Member Since: April 2009   Contribution: 24    

RE: compress PDS
Easiest way to compress a data set is using ISPF 3.1 option C
 
Is this answer useful? Yes | No
April 29, 2009 08:30:52   #3  
ishabudhiraja Member Since: April 2009   Contribution: 5    

RE: compress PDS
To compress the PDS we can put option Z against the name of dataset
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
April 29, 2009 20:19:29   #4  
dhs01 Member Since: April 2009   Contribution: 24    

RE: compress PDS
ISPF 3.1 with C option
or IEBCOPY

 
Is this answer useful? Yes | No
May 19, 2009 01:44:05   #5  
sunil.k.cp Member Since: May 2009   Contribution: 1    

RE: compress PDS
Use option 3.4. mention your pds. Then infront of that pds type z to compress.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape