Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
What is the significance of blksize

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
girish.kanswa
Warnings : 1

New User


Joined: 13 Nov 2007
Posts: 2
Location: pune

PostPosted: Wed Jul 09, 2008 5:22 pm    Post subject: what is significance of blocksize in JCL ..?
Reply with quote

Hi All,

Can you please tell me what is the significance of blksize in JCL..?

Thanks in advance
Back to top
View user's profile Send private message
References
Splitted: Wed Jul 09, 2008 5:28 pm by superk From Topic can we pass numeric value in PARM (IMS DB/DC)
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3507
Location: Brussels once more ...

PostPosted: Wed Jul 09, 2008 5:47 pm    Post subject:
Reply with quote

I generally do not specify it, just let the O/S do the work for you as it will select the best BLKSIZE for the output device being used.
Back to top
View user's profile Send private message
Anuj D.

Global Moderator


Joined: 22 Apr 2006
Posts: 2156
Location: Phoenix, AZ

PostPosted: Wed Jul 09, 2008 6:20 pm    Post subject:
Reply with quote

Hi,

If you are searching for the basic (in JCL world) definition then,

The BLKSIZE parameter is an optional parameter of the DD statement which provides the block size, in bytes, to use for the largest block to be processed for the associated data set.

Well, lately this question is been asked in many threads, just a coincidence or..anyways here are the links for some similar threads..

http://www.ibmmainframes.com/viewtopic.php?t=32215&highlight=blksize

http://www.ibmmainframes.com/viewtopic.php?t=32057&highlight=blksize

Please learn to search the forums.
Back to top
View user's profile Send private message
Bill Dennis

Senior Member


Joined: 17 Aug 2007
Posts: 311
Location: Iowa, USA

PostPosted: Wed Jul 09, 2008 6:41 pm    Post subject:
Reply with quote

Combining small records into blocks make I/O and data storage much more efficient and can reduce elapsed time to run a job. A file's BLKSIZE can be specified in a program but the best practice is to allow the JCL or system to set it. Most times you can specify BLKSIZE=0 and the system determines the best blocksize for the device.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8638
Location: 221 B Baker St

PostPosted: Wed Jul 09, 2008 9:58 pm    Post subject:
Reply with quote

Hello,

Quote:
Can you please tell me what is the significance of blksize in JCL..?
The main significance of the block size is the difference between physical and logical input/output actions. Basically, if your data has one record per block, every single read or write requires physical i/o. If your data has 1000 records per block, the number of physical reads or writes for 1000 records is one.

Another very important consideration the block size determines is how efficiently your data is allocated on the media (dasd more so than cart/tape). Efficient block sizes can greatly reduce the amount of media needed to store the data.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3507
Location: Brussels once more ...

PostPosted: Thu Jul 10, 2008 12:08 pm    Post subject:
Reply with quote

Quote:
Efficient block sizes can greatly reduce the amount of media needed to store the data.

Yes, there is a gap between every block that is stored.
Back to top
View user's profile Send private message
Anuj D.

Global Moderator


Joined: 22 Apr 2006
Posts: 2156
Location: Phoenix, AZ

PostPosted: Thu Jul 10, 2008 12:18 pm    Post subject:
Reply with quote

expat wrote:
Yes, there is a gap between every block that is stored.
And this is more paining when a media can be accessed in linear way only..such as TAPE media.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1