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

Total storge size of space parameter


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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: 463

PostPosted: Wed Jul 13, 2005 2:08 pm
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
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
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
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
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
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
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: 1287
Location: Chennai, India

PostPosted: Sun Feb 17, 2008 4:33 am
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: 8797
Location: Welsh Wales

PostPosted: Sun Feb 17, 2008 4:52 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Feb 18, 2008 4:22 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
Search our Forums:

Back to Top