Re: Space allocation question...
Thank you all for the responses. The issue was 'Guaranteed Space = No' setting on the storage class we were using. Thanks Rgds Sridhar K Veena -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Your primary extent cannot span volumes. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Veena, Sridhar Sent: Friday, October 15, 2010 1:23 PM To: IBM-MAIN@bama.ua.edu Subject: Space allocation question... Hi, I am trying to allocate dataset with 6672 cylinders of space across two volumes as a primary extent. I am told that the allocation should look as shown below... //DD1 DD DSN=TEST.DATASET, // DISP=(,KEEP), // SPACE=(CYL,(3336,20)), // VOL=SER=(VOlUME1,VOLUME2) 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?! Please help. Sridhar -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. Aetna -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
If the dataset is SMS managed, the second volume won't allocate until you fill up the first volume and a second volume is needed. Why is it that you want to allocate the 2 volumes? *George Rodriguez* *Specialist II - IT Solutions* *Application Support / Quality Assurance* *PX - 47652* *(561) 357-7652 (office)* *(561) 707-3496 (mobile)* *School District of Palm Beach County* *3348 Forest Hill Blvd.* *Room B-332* *West Palm Beach, FL. 33406-5869* *Florida's Only A-Rated Urban District For Six Consecutive Years* On Fri, Oct 15, 2010 at 1:23 PM, Veena, Sridhar sridhar.ve...@acs-inc.comwrote: Hi, I am trying to allocate dataset with 6672 cylinders of space across two volumes as a primary extent. I am told that the allocation should look as shown below... //DD1 DD DSN=TEST.DATASET, // DISP=(,KEEP), // SPACE=(CYL,(3336,20)), // VOL=SER=(VOlUME1,VOLUME2) 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?! Please help. Sridhar -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html Home of Florida's first LEED Gold Certified School Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Unless the STORCLAS is GUARANTEED SPACE, in which case both volumes are used immediately. John McKown Maranatha! On Oct 15, 2010 12:29 PM, George Rodriguez george.rodrig...@palmbeachschools.org wrote: If the dataset is SMS managed, the second volume won't allocate until you fill up the first volume and a second volume is needed. Why is it that you want to allocate the 2 volumes? *George Rodriguez* *Specialist II - IT Solutions* *Application Support / Quality Assurance* *PX - 47652* *(561) 357-7652 (office)* *(561) 707-3496 (mobile)* *School District of Palm Beach County* *3348 Forest Hill Blvd.* *Room B-332* *West Palm Beach, FL. 33406-5869* *Florida's Only A-Rated Urban District For Six Consecutive Years* On Fri, Oct 15, 2010 at 1:23 PM, Veena, Sridhar sridhar.ve...@acs-inc.comwrote: Hi, I am trying to allocate dataset with 6672 cylinders of space across two volumes as ... Home of Florida's first LEED Gold Certified School Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing. -- For IBM-MAIN subscribe / sig... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
To be more precise...I will quote from an online posting: an extent is a contiguous area of disk space. The key word is 'contiguous'. Since an extent must be 'contiguous' you primary extent cannot span volumes. The largest extent you can allocate is equal to the largest free space on a volume. In your case a full volume, or 3336 cylinders. You won't get a second allocation until you fill up the first volume. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Veena, Sridhar Sent: Friday, October 15, 2010 1:23 PM To: IBM-MAIN@bama.ua.edu Subject: Space allocation question... Hi, I am trying to allocate dataset with 6672 cylinders of space across two volumes as a primary extent. I am told that the allocation should look as shown below... //DD1 DD DSN=TEST.DATASET, // DISP=(,KEEP), // SPACE=(CYL,(3336,20)), // VOL=SER=(VOlUME1,VOLUME2) 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?! Please help. Sridhar -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. Aetna -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
I stand corrected... *George Rodriguez* *Specialist II - IT Solutions* *Application Support / Quality Assurance* *PX - 47652* *(561) 357-7652 (office)* *(561) 707-3496 (mobile)* *School District of Palm Beach County* *3348 Forest Hill Blvd.* *Room B-332* *West Palm Beach, FL. 33406-5869* *Florida's Only A-Rated Urban District For Six Consecutive Years* On Fri, Oct 15, 2010 at 1:45 PM, John McKown john.archie.mck...@gmail.comwrote: Unless the STORCLAS is GUARANTEED SPACE, in which case both volumes are used immediately. John McKown Maranatha! On Oct 15, 2010 12:29 PM, George Rodriguez george.rodrig...@palmbeachschools.org wrote: If the dataset is SMS managed, the second volume won't allocate until you fill up the first volume and a second volume is needed. Why is it that you want to allocate the 2 volumes? *George Rodriguez* *Specialist II - IT Solutions* *Application Support / Quality Assurance* *PX - 47652* *(561) 357-7652 (office)* *(561) 707-3496 (mobile)* *School District of Palm Beach County* *3348 Forest Hill Blvd.* *Room B-332* *West Palm Beach, FL. 33406-5869* *Florida's Only A-Rated Urban District For Six Consecutive Years* On Fri, Oct 15, 2010 at 1:23 PM, Veena, Sridhar sridhar.ve...@acs-inc.comwrote: Hi, I am trying to allocate dataset with 6672 cylinders of space across two volumes as ... Home of Florida's first LEED Gold Certified School Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing. -- For IBM-MAIN subscribe / sig... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html Home of Florida's first LEED Gold Certified School Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Sridhar, I am trying to allocate dataset with 6672 cylinders of space across two volumes as a primary extent. I am told that the allocation should look as shown below... //DD1 DD DSN=TEST.DATASET, // DISP=(,KEEP), // SPACE=(CYL,(3336,20)), // VOL=SER=(VOlUME1,VOLUME2) 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?! Please help. You need to use a storclas with guaranteed space = yes to get the primary allocation amount to be allocated on each volume. The way your jcl is structured, you will only allocate the primary on the first volume. You will only allocate space on the second volume after you fill the primary space and start allocating *ONLY* 20 cylinders at a time on the second volume. If you do not want to use a storclas with guaranteed space = yes, you can allocate across both volumes by using SPACE=(CYL,(3336,3336)) and write enough data to the dataset to cause it to fill the primary space. Regards, John NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Yes, however, since he didn't get the amount of space he expected, he is not in a guaranteed space pool. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of George Rodriguez Sent: Friday, October 15, 2010 1:49 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Space allocation question... I stand corrected... *George Rodriguez* *Specialist II - IT Solutions* *Application Support / Quality Assurance* *PX - 47652* *(561) 357-7652 (office)* *(561) 707-3496 (mobile)* *School District of Palm Beach County* *3348 Forest Hill Blvd.* *Room B-332* *West Palm Beach, FL. 33406-5869* *Florida's Only A-Rated Urban District For Six Consecutive Years* On Fri, Oct 15, 2010 at 1:45 PM, John McKown john.archie.mck...@gmail.comwrote: Unless the STORCLAS is GUARANTEED SPACE, in which case both volumes are used immediately. John McKown Maranatha! On Oct 15, 2010 12:29 PM, George Rodriguez george.rodrig...@palmbeachschools.org wrote: If the dataset is SMS managed, the second volume won't allocate until you fill up the first volume and a second volume is needed. Why is it that you want to allocate the 2 volumes? *George Rodriguez* *Specialist II - IT Solutions* *Application Support / Quality Assurance* *PX - 47652* *(561) 357-7652 (office)* *(561) 707-3496 (mobile)* *School District of Palm Beach County* *3348 Forest Hill Blvd.* *Room B-332* *West Palm Beach, FL. 33406-5869* *Florida's Only A-Rated Urban District For Six Consecutive Years* On Fri, Oct 15, 2010 at 1:23 PM, Veena, Sridhar sridhar.ve...@acs-inc.comwrote: Hi, I am trying to allocate dataset with 6672 cylinders of space across two volumes as ... Home of Florida's first LEED Gold Certified School Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing. -- For IBM-MAIN subscribe / sig... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html Home of Florida's first LEED Gold Certified School Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. Aetna -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
If the dataset is SMS managed, the second volume won't allocate until you fill up the first volume and a second volume is needed. Why is it that you want to allocate the 2 volumes? As someone stated earlier - a primary allocation can not span 2 volumes (for the most part). However, you can have a primary allocation on 2 volumes - of course, they're not mentioning that with the JCL you were given, you will also get 2ndary allocations on the 1st volume until you run out of either allowed extents on that volume or space on the volume and then would get the 2nd primary more 2ndary allocations. That's a pretty simplified view and can be affected by the size of the volumes your shop is using, the way your dataclas is defined, etc. With that said, you Can get the primaries allocated on both volumes at initial allocation time - if the storage class your dataset is assigned is defined with the Guaranteed Space attribute. I'd have to hit the manuals to know for sure whether it writes to the 1st primary, then the 2nd primary, then 2ndary allocations on 1st volume, etc. or if you'll use all the primary 2ndary space on the 1st volume before using the second. Another way to get your space allocated across multiple volumes would be by striping which is controlled by the Init Acc Response attribute of the storage class. This would would cause your primary allocation to split across a # of volumes to get you the desired intial access response time. When you write the DS out, you would send a write to the 1st volume, the 2nd write goes to the 2nd volume so on. There are limitiation to this - IIRC you can only have 16 extents to a stripe. These are both kind of old fashioned now days I'm sure that someone with a lot more time and energy than me can hit the manuals and pick all my thee's thou's apart - I don't care the reason I don't care is that you really need to have this discussion with your storage administration staff or whoever performs that function. They should understand the SMS environment and how it interacts with the hardware your shop has available. They need to have a clear understanding of what your needs really are before they can tell you the best way to go. For most applications, the primary allocation on the 1st volume, plus it's 2ndaries, then the primary on the 2nd volume and so on is both the most straight forward method and adequate for most application's needs. If your application has some very specific requirements, you need to have that discussion as SMS is generally controls your allocations through the rules definitions they've set up. Hope that helps - dd keller This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Sridar, This will work if you also use a Guarenteed Space Storage Class. The size of the primary allocation on each volume will depend on how the MB/sec rate has been specified in the Storage Class. It's an old technique that many people used to use for SAS before they got their multi-volume support figured out. For VSAM the first allocation on the second volume would normally be equal to the primary space you have specified if the file is overflowing as you fill it. However this can changed with the Data Class so that you only get the secondary allocation as you overflow onto subsequent volumes. Ron -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Veena, Sridhar Sent: Friday, October 15, 2010 10:23 AM To: IBM-MAIN@bama.ua.edu Subject: [IBM-MAIN] Space allocation question... Hi, I am trying to allocate dataset with 6672 cylinders of space across two volumes as a primary extent. I am told that the allocation should look as shown below... //DD1 DD DSN=TEST.DATASET, // DISP=(,KEEP), // SPACE=(CYL,(3336,20)), // VOL=SER=(VOlUME1,VOLUME2) 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?! Please help. Sridhar -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Sridar, A correction to my post. The data rate is only used by striped datasets. If you use a STORCLAS with guaranteed space=YES and nothing else then you will get the primary allocation you request on each volume you requested, or on the number of non-specific volumes you request in the UNIT parm. The volumes must be SMS managed. With Guarenteed Space you must change the unit count from 20 to 2, or you will get that primary space allocated on 20 volumes (or perhaps the two volumes in the VOL=SER override the UNITCNT). Ron -Original Message- From: Ron Hawkins [mailto:ron.hawkins1...@sbcglobal.net] Sent: Friday, October 15, 2010 10:58 AM To: 'IBM Mainframe Discussion List' Subject: RE: [IBM-MAIN] Space allocation question... Sridar, This will work if you also use a Guarenteed Space Storage Class. The size of the primary allocation on each volume will depend on how the MB/sec rate has been specified in the Storage Class. It's an old technique that many people used to use for SAS before they got their multi-volume support figured out. For VSAM the first allocation on the second volume would normally be equal to the primary space you have specified if the file is overflowing as you fill it. However this can changed with the Data Class so that you only get the secondary allocation as you overflow onto subsequent volumes. Ron -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Veena, Sridhar Sent: Friday, October 15, 2010 10:23 AM To: IBM-MAIN@bama.ua.edu Subject: [IBM-MAIN] Space allocation question... Hi, I am trying to allocate dataset with 6672 cylinders of space across two volumes as a primary extent. I am told that the allocation should look as shown below... //DD1 DD DSN=TEST.DATASET, // DISP=(,KEEP), // SPACE=(CYL,(3336,20)), // VOL=SER=(VOlUME1,VOLUME2) 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?! Please help. Sridhar -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Darth, Were you thinking of the sustained data rate value, rather than initial access time? Note that you can use unitcnt and guaranteed space to control the number and size of stripes from JCL, rather than using the data rate. I've always preferred this method. Ron Another way to get your space allocated across multiple volumes would be by striping which is controlled by the Init Acc Response attribute of the storage class. This would would cause your primary allocation to split across a # of volumes to get you the desired intial access response time. When you write the DS out, you would send a write to the 1st volume, the 2nd write goes to the 2nd volume so on. There are limitiation to this - IIRC you can only have 16 extents to a stripe. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Darth, Were you thinking of the sustained data rate value, rather than initial access time? Note that you can use unitcnt and guaranteed space to control the number and size of stripes from JCL, rather than using the data rate. I've always preferred this method. Ron Ron - you are correct - Sustained data rate. I don't think I ever used unitcnt guaranteed space to control striping - it definitely sounds more straight forward than the SDR. thanks for the update. ddk This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
On 10/15/2010 12:53 PM, Darth Keller wrote: If the dataset is SMS managed, the second volume won't allocate until you fill up the first volume and a second volume is needed. Why is it that you want to allocate the 2 volumes? As someone stated earlier - a primary allocation can not span 2 volumes (for the most part). However, you can have a primary allocation on 2 volumes - of course, they're not mentioning that with the JCL you were given, you will also get 2ndary allocations on the 1st volume until you run out of either allowed extents on that volume or space on the volume and then would get the 2nd primary more 2ndary allocations. That's a pretty simplified view and can be affected by the size of the volumes your shop is using, the way your dataclas is defined, etc. With that said, you Can get the primaries allocated on both volumes at initial allocation time - if the storage class your dataset is assigned is defined with the Guaranteed Space attribute. I'd have to hit the manuals to know for sure whether it writes to the 1st primary, then the 2nd primary, then 2ndary allocations on 1st volume, etc. or if you'll use all the primary 2ndary space on the 1st volume before using the second. Another way to get your space allocated across multiple volumes would be by striping which is controlled by the Init Acc Response attribute of the storage class. This would would cause your primary allocation to split across a # of volumes to get you the desired intial access response time. When you write the DS out, you would send a write to the 1st volume, the 2nd write goes to the 2nd volume so on. There are limitiation to this - IIRC you can only have 16 extents to a stripe. These are both kind of old fashioned now days I'm sure that someone with a lot more time and energy than me can hit the manuals and pick all my thee's thou's apart - I don't care the reason I don't care is that you really need to have this discussion with your storage administration staff or whoever performs that function. They should understand the SMS environment and how it interacts with the hardware your shop has available. They need to have a clear understanding of what your needs really are before they can tell you the best way to go. For most applications, the primary allocation on the 1st volume, plus it's 2ndaries, then the primary on the 2nd volume and so on is both the most straight forward method and adequate for most application's needs. If your application has some very specific requirements, you need to have that discussion as SMS is generally controls your allocations through the rules definitions they've set up. Hope that helps - dd keller An SMS primary allocation *CAN* indeed extend across multiple volumes and across many, many extents - provided you use an appropriate SMS DATACLAS that allocates as Extended Sequential, with space constraint relief and with multiple volumes. If you do that you can actually request a primary allocation greatly in excess of a single volume and up to the max number of extents possible for extended sequential (127?) on each of as many volumes as required to make up the requested space. Since each volume can have a large number of extents, even disk fragmentation is unlikely to prevent allocation as long as the total free space in the target SMS storage group is sufficient. This is GREAT for cases where you must generate a humongous output file, want to be sure you actually have the space before starting execution so you don't blow a lot of resources generating the file only to abort because it can't find another extent for the last few cylinders of data. It also eliminates the need for knowing the typical amount of free space that can be obtained on a single volume. You simply request as a primary space all the space you actually need for a successful run and if that much space is a available in the entire SMS pool you should get it. The only gotcha here is that if you use RLSE to release unused allocated space, it will only release the unused space on the volume containing the EOF - any allocated space on following volumes that haven't yet been reached will remain until the dataset is deleted. This means if you ask for a 60,000 cylinder primary and only write 5 cylinders, you will be left holding a large amount of space on all the following continuation volumes that you don't need and probably cause problems for others. So care should be exercised before using this technique on datasets that vary widely in size from run to run. -- Joel C. Ewing, Fort Smith, ARjcew...@acm.org -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
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: david.muel...@ssrc.myflorida.com 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:ibm-m...@bama.ua.edu] On Behalf Of Ted MacNEIL Sent: Friday, October 15, 2010 3:55 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
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. From the DataClass: Additional Volume Amt: Primary - Primary allocation amount has been requested. Secondary - Secondary allocation amount has been requested. -- If the value has not been specified. The system will use the default value of Primary. This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Ted, I would disagree with your point (2) in one case. Yes, I'm aware of of the difference of VSAM vs PS. But, I thought the OP was talking PS. Also, I've never used guaranteed space for non-VSAM files, so I wasn't aware of the impact on the primary allocation for subsequent volumes. Any day you learn something new is a good day. - I'm a SuperHero with neither powers, nor motivation! Kimota! -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
Darth, 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. From the DataClass: Additional Volume Amt: Primary - Primary allocation amount has been requested. Secondary - Secondary allocation amount has been requested. -- If the value has not been specified. The system will use the default value of Primary. The OP jcl clearly showed a non-vsam allocation. Ted is right about the primary amount being used only for the first allocation. All subsequent allocations on the same volume or a new volume are made with secondary amount. The additional amount value in the data class only applies to extended vsam datasets. I never set this to secondary because it would not apply to all vsam datasets. I did not want one set of rules for extended vsam datasets and another for the original type(s) of vsam datasets. Regards, John NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
I should have gone back reviewed the original email as it's too far down in the chain too late in the day. thanks - ddk This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Space allocation question...
David, 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. Regular old fashioned vsam datasets always use the primary allocation amount for the first allocation on a volume. Extended vsam can use primary or secondary amount when extending to a second or later volume depending on the additional amount setting in the dataclas that Darth refered. If the storage class has guaranteed space = yes, the primary amount is allocated on all volumes. If the storage class has guaranteed space=no then only one volume actually is allocated and all remaining candidates have a single asterisk (*) as the volser. Once you write enough data to the vsam dataset and it needs to extend to another volume, SMS selects a volume at that time. You only have a volser on a candidate volume if the vsam dataset is not sms-managed. Regards, John NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html