Ted, I would disagree with your point (2) in one case.
For a VSAM dataset with the allocation coming from IDCAMS DEFINE
parameters, the primary is remembered in the catalog listing. If the file is
defined in a non-guaranteed-space environment with more than one volume
specified, the allocation succeeds only if the primary amount can be found on
enough volumes. All volumes except the first one are placed in CANDIDATE
status, and the space is not allocated. During file load, when it attempts to
go to one of the candidate volumes, it goes after the primary amount on the
next candidate volume, and the job fails if it is no longer there.
As a note, we always defined these multi-volume VSAM files with zero
secondary so that they could not eat all the extra space on the volumes. It is
possible that this '0' secondary affects the behavior with the candidate
volumes.
David Mueller | Systems Programmer
SSRC (Southwood Shared Resource Center)
4070 Esplanade Way, Room 360D
Phone: 850-414-9134 || Fax: 850-488-3600
E-mail: [email protected]
Please Note: Florida has a very broad public records law. Most written
communications to or from state officials regarding state business are public
records available to the public and media upon request. Your e-mail
communications may therefore be subject to public disclosure.
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Ted MacNEIL
Sent: Friday, October 15, 2010 3:55 PM
To: [email protected]
Subject: Re: Space allocation question...
>I tried above allocation but I am getting just 3336 cylinders as initial
>allocation.
>What could be wrong here? Should the volumes be non-SMS?
>If they are SMS does it need some SMS rule to allocate primary space specified
>across each of the volumes?!
Space management 101:
1. The primary is satisfied in one extent only if there is a free extent that
large (or larger).
The primary must be satisfied within 5 extents, or the allocation fails.
2. The primary is never 'remembered'. So, if you go to a subsequent volume, the
secondary allocation is always used (and must, again, be satisfied within 5
extents.
The above are true whether or not SMS is involved.
-
I'm a SuperHero with neither powers, nor motivation!
Kimota!
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html