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

optimum BLOCK SIZE (BLKSIZE)


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

New User


Joined: 10 Mar 2005
Posts: 33
Location: Lewiston

PostPosted: Fri Feb 09, 2007 8:10 pm
Reply with quote

Hi all,
how do you calculate optimum block size for a given LRECL? This parameter plays an important role for an input or output file for production environment.

Please share the knowledge with the forum.

Thanks & Regards.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Feb 09, 2007 8:24 pm
Reply with quote

Find the largest blksize that one or two blocks will fit on a track and is a multiple of the record size.
Or lst the system take of it for you with a blksize=0 (SDB i think?)
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Fri Feb 09, 2007 8:24 pm
Reply with quote

Hi !

First of all it depends of the modell-numer of your installed disks.

Try TSO 3.2 and enter the attibutes of your desired file without
BLKSIZE. Press enter. Then have a look at at the cataloged file for
the blksize. Use this size in your jcl.

Regards, UmeySan
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Feb 09, 2007 10:09 pm
Reply with quote

Hello,

Also, you can specify BLKSIZE=0 in your jcl and most sites generate an appropriate blkzise.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Feb 10, 2007 4:54 am
Reply with quote

If full SMS is active in your shop you don't have to specify a blksize.

It's best to let the sys do it (SMS or blksize=0) because when there's a DASD conversion at your shop the next file created w/the JCL will posess an optimum blksize for that device type.
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 Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts I need a 4 lines block where substrin... DFSORT/ICETOOL 12
No new posts Dataset size increase on adding 1 byt... DFSORT/ICETOOL 8
Search our Forums:

Back to Top