IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compress pds size using DISP=SHR in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Thu Apr 16, 2009 1:27 pm
Reply with quote

Experts,
Please share on the disadvantages of doing a compression using DISP=SHR for any pds which hold by any CICS regions etc..

Situation:
ProductionLoadlib PDS: AAAA.BBBB.CCCC
Always hold by CIC01, CIC02, CIC03 regions.

It 's getting difficult release this load from cics regions, so

Proposed solution:
Using DISP=SHR, DSN=AAAA.BBBB.CCCC in JCL to compress this production loadlib.

Would like to know suggestions/demerits etc on this proposal.

Thanks,
Srini
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Apr 16, 2009 3:30 pm
Reply with quote

Hi,

If the dataset has DISP=SHR, a batch compress job will work but I believe it's not a good idea; I did it couple of times but my process was just for my experments so I was safe. Compress changes the member locations in the PDS and that can impact address spaces that have already opened the dataset. The problem can be if the current users of the dataset don't refresh their data once the compress is done, they could be attempting to refer to members in locations that are not in use anymore, or even in use by a different member.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Apr 16, 2009 9:31 pm
Reply with quote

Hello,

You need to compress this dataset while cics is down / being re-cycled. . .

You might consider changing from the pds to a pdse.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts JCL SORT to compress the student's de... DFSORT/ICETOOL 7
No new posts Dataset size increase on adding 1 byt... DFSORT/ICETOOL 8
Search our Forums:

Back to Top