View previous topic :: View next topic
|
Author |
Message |
girish.kanswa Warnings : 1 New User
Joined: 13 Nov 2007 Posts: 2 Location: pune
|
|
|
|
Hi All,
Can you please tell me what is the significance of blksize in JCL..?
Thanks in advance |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
|