LSR for Online files in batch JCL

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

LSR for Online files in batch JCL

Postby The Mean Farmer » Wed Oct 03, 2012 1:12 am

I have an online file that is used in a batch job and I wonder if there is a way to speed up processing by adding different buffering. Here is what we have coded for the JCL now:

// AMP=('BUFNI=4,BUFND=50')

Can you use the BLSR parameters to buffer these datasets? Is there another way to buffer these? Hiperspaces? etc...
The Mean Farmer
Posts: 16
Joined: Fri Nov 05, 2010 12:48 am
Has thanked: 0 time
Been thanked: 0 time

Re: LSR for Online files in batch JCL

Postby dick scherrer » Wed Oct 03, 2012 2:10 am


If the online is "pounding away" on this file and some batch process is permitted to run at the same time, both will be impacted.

Suggest you implement some kind of scheduling that will ensure the batch job is not in competition with the online for the file.

If you believe the batch job needs improvement when it runs unopposed, additional buffers may help. You would also need to consider what kind of "things" are being done in the batch job.
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: LSR for Online files in batch JCL

Postby Robert Sample » Wed Oct 03, 2012 4:25 pm

Based on the existing buffering, your batch job is using sequential access. BLSR is really bad with sequential access, so using it could actually make your batch job performance worse. As Dick indicated, your best bets are to add more buffers and to move the batch job schedule so there's no conflict with online.
Robert Sample
Global moderator
Posts: 3716
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 278 times

Re: LSR for Online files in batch JCL

Postby jaggz » Thu Oct 04, 2012 3:30 pm

BLSR goes well with VSAM I/O.
User avatar
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Return to JCL


  • Related topics
    Last post