Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Total storge size of space parameter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kiran_pagadala

New User


Joined: 05 Jul 2005
Posts: 1
Location: India

PostPosted: Thu Jul 07, 2005 2:34 pm    Post subject: Total storge size of space parameter
Reply with quote

Hi ,
am new to the form, gr8 site !!

have one question

if the space parameter is given like space=(cyl,(5,10),rlse) for a dataset in jcl.
As for as I know max allocated cyl will be 5 + (15*10) = 155 cyl.
Can this be exceeded becoz of some reason ?
Back to top
View user's profile Send private message

parul chhabra

New User


Joined: 27 Jun 2005
Posts: 2

PostPosted: Thu Jul 07, 2005 2:49 pm    Post subject:
Reply with quote

hi kiran_pagadala

it is not possible to exceed the space.
Back to top
View user's profile Send private message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Fri Jul 08, 2005 6:04 pm    Post subject:
Reply with quote

hi kiran,

once the dataset is allocated the space parameters cant be changed.
the only way to enhance the space is by deleting the DS and reallocating the dataset with the required space.

corrections are welcome,
regards
VINI
icon_lol.gif
" SMILE NOTHING U HAVE TO PAY FOR THAT"
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Jul 10, 2005 5:40 am    Post subject:
Reply with quote

Hi Kiran,

Welcome to the site.

This is probably not what you were looking for, but non the less it's interesting and may provide a solution for you in the future.

You could have increased that allocation from 155 CYL to 795 by doing the following:

space=(cyl,(5,10),rlse),unit=(5,sysda)

Your use equation now looks like this:

5 + (15*10) + (16*10*4) = 795 cyl.

That's because you get 16 2ndary extents on EVERY vol you allocated.

HTH
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Wed Jul 13, 2005 2:08 pm    Post subject: Re: space parameter
Reply with quote

Hi MM

when i m trying code i m getting following error

"5" IS ILLEGAL OPERAND FOR "UNITNAME" PARAMETER OF "UNIT"

Could you please explain me?

Thanks in advance

Rupesh.Kothari
Back to top
View user's profile Send private message
shanthikiran

New User


Joined: 31 May 2005
Posts: 7
Location: India

PostPosted: Thu Jul 14, 2005 10:20 am    Post subject:
Reply with quote

Hi kiran


Unit contains only a single parameter.so u need to delete the dataset n create another dataset with same name with sufficienct space.

Regards

Shanthi
Back to top
View user's profile Send private message
richie

New User


Joined: 11 Jun 2005
Posts: 24

PostPosted: Thu Jul 14, 2005 11:49 am    Post subject:
Reply with quote

Could someone please explain how did
space=(cyl,(5,10),rlse),unit=(5,sysda) gives 5 + (15*10) + (16*10*4) = 795 cyl come?Whee do we get the Multiplicato factor 10 and 4 from??
Back to top
View user's profile Send private message
prasad_yadav20

New User


Joined: 12 Mar 2005
Posts: 13
Location: hyderabad

PostPosted: Thu Jul 14, 2005 12:14 pm    Post subject: i want to accomidate 6 digits in 3 bytes
Reply with quote

[deleted totally unrelated question that should go in a new topic]
Back to top
View user's profile Send private message
therasith

New User


Joined: 02 Jan 2004
Posts: 52
Location: chennai

PostPosted: Thu Jul 14, 2005 6:34 pm    Post subject:
Reply with quote

Hai mmwife

Quote:
That's because you get 16 2ndary extents on EVERY vol you allocated.


i have learned, 1 Primary and 15 secondary extends.

Which one is right. pls


Regards

therasith
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Sat Feb 16, 2008 3:12 am    Post subject: Reply to: space parameter
Reply with quote

Quote:
space=(cyl,(5,10),rlse),unit=(5,sysda)


Try UNIT=(SYSDA,5)
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Feb 16, 2008 4:59 am    Post subject:
Reply with quote

Hi Priya,

NOW you tell me. icon_biggrin.gif

Only kidding. Actually it's good to correct errors, even if it's some time after the fact. Someone may have a need for info at a later date, and it's important for them to get the correct info.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Sun Feb 17, 2008 4:33 am    Post subject: Reply to: Total storge size of space parameter
Reply with quote

vini,

Quote:
once the dataset is allcated the space parameters cannot be changed


i know this command is site specific, but trying to prove here that the space parameters can be changed even after the dataset is allocated. We use PDSX (PDS Extend) in our shop to increase the space parameters.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sun Feb 17, 2008 4:52 pm    Post subject:
Reply with quote

Just a few little words from me

Each allocation, either primary or secondary, can be satisfied by up to five physical extents so if you have a really badly fragmented disk pool, it is possible that you will only ever be able to satisfy the primary and only two secondary allocations before you get an abend. Although it is a long long time since I have come across a pool like that, but they do exist !!

Quote:
once the dataset is allocated the space parameters cant be changed.
the only way to enhance the space is by deleting the DS and reallocating the dataset with the required space.

Mmmmmmmmmmmmm, You can change it if it is already allocated. The dataset can be addressed as disp=old but if you use the space parameter in the DD statement with a higher secondary space value it will be honoured. Try it and see.

Also, you can use IDCAMS ADDVOL to add additional volumes for the dataset to expand to.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Feb 18, 2008 7:01 am    Post subject:
Reply with quote

Hi expat,

If I recall correctly, you can use up to 5 extents to satisfy a primary alloc and up to 3 extents for each 2ndary.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Feb 18, 2008 4:22 pm    Post subject:
Reply with quote

Hi Jack,

I can not recall the SMS level, z/OS 1.3 (I think), when it became 5 extents for either primary or secondary allocations.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Feb 18, 2008 10:55 pm    Post subject:
Reply with quote

Hi expat,

Ya can't turn your back for a minute (or was it a year?). Thanx for the update.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 3 Sat May 06, 2017 12:59 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us