Over coming the 4 GB limit of VSAM.

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Post Reply
User avatar
Angel
Registered Member
Posts: 93
Joined: Sat Jun 08, 2013 8:13 pm

Over coming the 4 GB limit of VSAM.

Post by Angel »

Hello,

Does anyone know a way to come around the 4 GB limitation while defining a LINEAR cluster? Note these volumes are not managed my SMS.

Thanks for any help!
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Over coming the 4 GB limit of VSAM.

Post by Robert Sample »

Use the DATACLASS attribute of the DEFINE CLUSTER. The value to use for DATACLASS, however, MUST be provided by someone working at your site as different sites use different values.
User avatar
Angel
Registered Member
Posts: 93
Joined: Sat Jun 08, 2013 8:13 pm

Re: Over coming the 4 GB limit of VSAM.

Post by Angel »

But DATCLASS is part of SMS setup?
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Over coming the 4 GB limit of VSAM.

Post by enrico-sorichetti »

But DATCLASS is part of SMS setup?
That' s the reason the people to ask are those in Your storage support
THEY implemented the rules for Your SMS setup
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Over coming the 4 GB limit of VSAM.

Post by Robert Sample »

If you read the manual on DEFINE CLUSTER, you will discover that the manual EXPLICITLY states that DATACLASS can be used for SMS or non-SMS managed storage. Yes, it is part of SMS but it can also be used outside SMS.
User avatar
Angel
Registered Member
Posts: 93
Joined: Sat Jun 08, 2013 8:13 pm

Re: Over coming the 4 GB limit of VSAM.

Post by Angel »

I have suggested to use the Extended Format (VSAM EF) files. As I read about them, they allow to add an extra 32 control bytes to each data block. But they need to be DFSMS managed. It seems to solve the problem. So even if a DATACLASS is also given the restriction of 4GB anyways remains, right?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Over coming the 4 GB limit of VSAM.

Post by Robert Sample »

This is another reason you REALLY need to talk to your site support group. If the DATACLASS given does not support VSAM extended format (a DATACLASS can be used for different reasons), then yes the 4 GB limit still applies. Only someone working at your site can provide you with the site-specific information you need on how to get your VSAM data set to go past 4 GB; we can only say that yes it can be done.
User avatar
Angel
Registered Member
Posts: 93
Joined: Sat Jun 08, 2013 8:13 pm

Re: Over coming the 4 GB limit of VSAM.

Post by Angel »

Robert Sample wrote:This is another reason you REALLY need to talk to your site support group.  If the DATACLASS given does not support VSAM extended format (a DATACLASS can be used for different reasons), then yes the 4 GB limit still applies.  Only someone working at your site can provide you with the site-specific information you need on how to get your VSAM data set to go past 4 GB; we can only say that yes it can be done.
We ended up using 4 GB limit, as going beyond that was not recommended by the policies.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Over coming the 4 GB limit of VSAM.

Post by Robert Sample »

We ended up using 4 GB limit, as going beyond that was not recommended by the policies.
Policies often wind up being in effect long after they should have been changed.  I've used a number of VSAM linear and KSDS data sets as large as 60 GB with no problems; a policy against them makes less and less sense as time passes. 
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”