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

Size of dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
muffirulz

New User


Joined: 14 Sep 2005
Posts: 74
Location: Atlanta, (USA)

PostPosted: Fri Mar 17, 2006 1:27 am
Reply with quote

Hi,

I would like to know the size of the dataset to be specified if it has to contain 7 million records of a field which is of size x(13).

Thanks,
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 1:37 am
Reply with quote

hy muffyrulz,

try to give 100 cyls as primary and 50 as secondary space,
this should be more than enough.
just never forget to give the RLSE word, for the unused
space amount will be released again...

SPACE=(CYL,(100,50),RLSE)

if you like to optimize, because to cannot use to much disk space,
then look after the space taken and correct your job, with the space used
as primary and about ca. 10% as secondary. (one day you might have
more than 7million recors...).

martin9
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Mar 17, 2006 1:52 am
Reply with quote

I would just use

SPACE=(13,(7,1),RLSE),AVGREC=M

Our system-calculated allocation routine comes out with:

SPACE=(13,(6915,1383),RLSE),AVGREC=K

so either one ought to work.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 1:59 am
Reply with quote

hy superk,

you can do it also in blocks...
...one record per block, i never tried like this...
is this better for further access to the dataset,
or better for space management...i cannot figure...

you have some tips on this, for better dataset allocations...

martin9
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top