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

Using BLSR to dicrease EXCPs for a VSAM file RRDS


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
TitinaO

New User


Joined: 12 Mar 2007
Posts: 2
Location: Chile

PostPosted: Sat Dec 06, 2008 3:02 am
Reply with quote

I am trying to optimize a process that has a lot of EXCPS. I am using subsystem BLSR to do that and it works fine for KSDS files , going from 2029 excps to 200 and 942 for 75.

But the problem is I have some RRDS files that has a lot EXCPs and even when I set the BUFND parm from a low value to a very high value (10-32000) I do not get a big change in the EXCPs.

Why BLSR is not working in this case ?? Am I missing something??

Thank you all for your help.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Dec 06, 2008 4:21 am
Reply with quote

From the VSAM Demystified Redbook (SG24-6105):
Quote:
Your application performance will improve using BLSR when direct access is
used and the same CI is referenced more than once in the processing. Using the
BLSR subsystem with sequential access could degrade performance rather than
improve it
And there is also in the same manual
Quote:
4.9.1 COBOL users take note
Note: This information was provided by Helen Witter.
Try to keep in mind is that COBOL is written for NSR processing. If anything is
done to switch the processing to LSR (whether OEM, SMB or BLSR), the
program or COBOL may not be able to handle it.
So if you're not accessing the same RRDS CI multiple times, you're not going to see much benefit to BLSR. And COBOL might prevent you from seeing any benefit, anyway.
Back to top
View user's profile Send private message
TitinaO

New User


Joined: 12 Mar 2007
Posts: 2
Location: Chile

PostPosted: Sat Dec 06, 2008 6:59 am
Reply with quote

Thanks for youre answer.
Hum.. That confuse me, because from Programming:
Batch Local Shared Resources Subsystem
Guide
Quote:
The VSAM data set types supported are:
Ÿ Key sequenced data set (KSDS)
Ÿ Relative record data set (RRDS), including variable RRDS (VRRDS)
Ÿ Entry sequenced data set (ESDS).


So it is supposed to handle RRDS files.. The ones I am trying to optimize.
DO you know a way to reduce the EXCPS for these files?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Dec 06, 2008 7:39 am
Reply with quote

The Redbook says BLSR handles RRDS but I'm not sure how much benefit RRDS can get from BLSR -- I've never dealt that much with RRDS to be able to say. Are you doing READ NEXT on the RRDS file or are you using the RELATIVE KEY for random access?
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top