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

Tool to calculate space parameters?


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

New User


Joined: 02 Apr 2007
Posts: 12
Location: Chennai

PostPosted: Thu May 17, 2007 11:12 am
Reply with quote

Hi,
Is there any tool available to calculate the space parameters knowing the Volume(no. of records in the input file) and the LRECL of output?
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Thu May 17, 2007 12:54 pm
Reply with quote

U can calculate the Space Parameter = No of records * record length, which gives u Total Bytes occupied by the File. From this u allocate the File using TRKS.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 17, 2007 3:11 pm
Reply with quote

Quote:
U can calculate the Space Parameter = No of records * record length, which gives u Total Bytes occupied by the File. From this u allocate the File using TRKS.

Almost ...............

Divide the LRECL into the optimum blocksize for the device you will allocate the dataset onto, 27998 for 3390, and divide by two. Incorrect - please see below.
This gives you the number of records per track.

Divide the total number of records by the number above to give you tracks.

Divide by 15 to get the number of cylinders required. Add 10 - 15% for contingency and growth, and there you go.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri May 18, 2007 9:46 pm
Reply with quote

Hi,

Check this link, not a tool still will be helpful

publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/AM3IN001/1.3.1?SHELF=&DT=19930630180255&CASE=
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 18, 2007 10:22 pm
Reply with quote

Updated, and corrected version

Divide the LRECL into the optimum blocksize for the device you will allocate the dataset onto, 27998 for 3390, and multiply the integer value by two.

This gives you the number of records per track.

Divide the total number of records by the number above to give you tracks.

Divide by 15 to get the number of cylinders required. Add 10 - 15% for contingency and growth, and there you go.

As a bonus, I usually use tracks for allocations LE 75 tracks, and cylinders for allocations above 75 tracks.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top