View previous topic :: View next topic
|
Author |
Message |
deesun
New User
Joined: 29 Aug 2006 Posts: 15
|
|
|
|
Hi ,
I have a question here. Say If we code BLKSIZE = 0 will the cost be reduced.
From teh following which is the efficient way of coding and why?
1. DCB=(RECFM=FB,LRECL=206,BLKSIZE=0),
2. DCB=(RECFM=FB,LRECL=206,BLKSIZE=2060)
3. DCB=(RECFM=FB,LRECL=206,BLKSIZE=4120)
In which case the cost will be less?????????????
Thanks,
Deepak |
|
Back to top |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
Using number #1 would cost less. When you block records with the most efficient blocksize, you are able to store the maximum records per track. If you are not using the optimum blocksize, fewer records are stored per track, so you need addition space to handle the complete file. When the system reads records, there is also a small CPU savings when unblocking records stored at their optimum blocksize because there are fewer blocks for the CPU to unblock into individual records. |
|
Back to top |
|
|
deesun
New User
Joined: 29 Aug 2006 Posts: 15
|
|
|
|
Thanks for your response |
|
Back to top |
|
|
|