Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Size of dataset

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

New User


Joined: 14 Sep 2005
Posts: 74
Location: Kentucky, USA

PostPosted: Fri Mar 17, 2006 1:27 am    Post subject: Size of dataset
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    Post subject:
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

Moderator Team Head


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

PostPosted: Fri Mar 17, 2006 1:52 am    Post subject: Re: Size of dataset
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    Post subject:
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    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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us