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
 

 

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: 287
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: 4648
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: 287
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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm


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