MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

To calculate file size dynamically

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue Feb 12, 2008 9:33 am    Post subject: To calculate file size dynamically Reply with quote

Is it possible to allocatefile size without calculating the file size and hence preventing it from abending from space issues.
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Feb 12, 2008 10:56 am    Post subject: Reply with quote

kingo,

Check the space calculation in this post and accordingly code your space parameters.

http://www.mvsforums.com/helpboards/viewtopic.php?p=36#36
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Wed Feb 13, 2008 5:15 am    Post subject: Reply with quote

My question is there any way to dynamically allocate files through jcl ?

something similar to

Creating stacks by dynamic allocation of memory.
Hope I made my question clear.


~Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Feb 13, 2008 11:19 am    Post subject: Reply with quote

kingo,

You canNOT dynamically Allocate space parameters to a dataset on DASD. However you can create an extended format dataset which can be extended to 123 extents unlike the regular 15 extents of secondary allocation. Talk to your DFSMS administrator about creating extended format datasets
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Sat Feb 16, 2008 7:43 am    Post subject: Reply with quote

Or you could code multivolume which will only use the secondary volumes when the full allocation has been exhausted on the first volume
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group