Please help with a query on BLSR:
I have a 20 threads for a job running paralally. A VSAM file which has 20 copies used by 20 threads. That means each thread has dedicated copy file of VSAM.
NOW the same VSAM is using BLSR in all threads which I doubt why. Because each thread has it's own copy, there us no sharing of vsam copy file across threads or any other job. Will BLSR degrade performance in this case, Please suggest.
Joined: 06 Jun 2008 Posts: 8519 Location: Dubuque, Iowa, USA
BLSR improves performances for random access of VSAM data sets (you do NOT have a "VSAM file" -- you have a VSAM data set; the only "files" on z/OS are on tape or in Unix System Services and neither of these can be VSAM). If the data set is being read sequentially, then BLSR won't improve performance (and may make it worse). Notice that the number of threads does NOT factor into whether or not BLSR can improve performance -- only the amount of sequential versus random processing.