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
 

 

SPACE allocation for a new dataset

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

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Fri Nov 04, 2005 6:46 am    Post subject: SPACE allocation for a new dataset
Reply with quote

hi folks
How much SPACE to specify in JCL for a "new" dataset? Explain with an example.
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Fri Nov 04, 2005 7:01 pm    Post subject: Re: SPACE allocation for a new dataset
Reply with quote

Normally, you don't specify space, as the System Managed Storage (SMS) system handles that task.

If. however, you wish to override that, then the answer will depend on your shop's standards. In our shop, space is calculated as follows:

Primary Tracks = (LRECL * MAX # of records) / 56664
Primary Space = (BLKSIZE / LRECL) * 2 * Primary Tracks
Primary Space = Primary Space / 1000

Secondary Tracks = (LRECL * (MAX # of records * .2)) / 56664
Secondary Space = (BLKSIZE / LRECL) * 2 * Secondary Tracks
Secondary Space = Secondary Space / 1000

so, space is allocated like this:
Code:

//         SPACE=(LRECL,(Primary Space,Secondary Space),RLSE),AVGREC=K
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Nov 06, 2005 8:28 am    Post subject:
Reply with quote

Hi IK,


You can economize by using BLKSIZE and secondary allocations, but the bottom line is "it depends on how many and how big the recs your new file might be."
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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