GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL

 Print  |  
Question:  compress PDS

Answer: how did you compress a pds? explain in detail?


June 06, 2008 09:59:01 #1
 Gousiya Mulla   Member Since: June 2008    Total Comments: 2 

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
/*
     

 

Back To Question