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

Query regarding compressing a PDS


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
varunraisharma

New User


Joined: 01 Sep 2005
Posts: 15
Location: Bangalore

PostPosted: Fri Dec 23, 2005 1:28 pm
Reply with quote

How many times can we compress a PDS, is there any limit on that.
I got 0E37 abend due to shortage of space and i compressed my PDS using command Z and started working again, I have done this 3 times...
is there any limit on the no. of times we can compress and is there any impact on the members in the PDS.

Regards
Varun
Back to top
View user's profile Send private message
Gautam512

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Fri Dec 23, 2005 4:36 pm
Reply with quote

While creating a dataset make sure u have given enough size for it.When it is short of space that abend is evolved.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Fri Dec 23, 2005 5:21 pm
Reply with quote

Hi frnd,
I think it depends upon the Secondary Space that u have allocated.. i m not clear with that.. let me know if any
Back to top
View user's profile Send private message
umeshkmrsh

New User


Joined: 21 Sep 2005
Posts: 79
Location: India

PostPosted: Fri Dec 23, 2005 6:22 pm
Reply with quote

Compressing a dataset rearranges the data and makes larger blocks of free memory available. Number of time we can compress PDS depends upon the number of secondary blocks defined while creation.

Correct me if wrong.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Dec 24, 2005 10:31 pm
Reply with quote

When a PDS member is deleted or updated, an empty space is created where the member existed. Over time as members are deleted (and recreated) these empty spaces multiply until there is not enough contiguous space available in the PDS to satisfy the space required by the newly requested member.

Running compress rearranges the members so that they reside side-by-side and those little spaces are eliminated and become one contiguous free space at the end of the PDS.

If compress doesn't create enough contig space, you may get get an abend on the next creation or update of a member.
Back to top
View user's profile Send private message
Brian's_song

New User


Joined: 27 Dec 2005
Posts: 21

PostPosted: Tue Dec 27, 2005 2:46 pm
Reply with quote

Hi mmwife,
Thanks for your explaination, do you mean that there is no limit to the times suppressing the PDS until the remain spaces can't afford the size of the newly created member ?

Pls correct if I am wrong. Thanks. icon_surprised.gif
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Tue Dec 27, 2005 6:11 pm
Reply with quote

HI Brian's_song

Yes you are right. We can reorg PDS any number of times.

Regards
Rupesh
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Dec 28, 2005 4:58 am
Reply with quote

To put ie another way, Rupesh, there will come a time when after you compress the PDS there are only 2 tracks remaining uuused.

If your new member will occupy 2 tracks or 1, things will look rosey. On the other hand if itneeds 3 or more, it's Sx37 time.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Wed Dec 28, 2005 11:56 am
Reply with quote

Hi mmwife,

Yes I also agree with you, My view is, if there is space to compress then onlyu we can compress it any times, but if there is no space then how we can compress which you already mention in your last post.

Quote:
in the PDS to satisfy the space required by the newly requested member


Regards
Rupesh
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top