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

DISP=(SHR,PASS) performance opinion


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Wed Dec 02, 2015 11:53 pm
Reply with quote

Before - and I know this goes back a long, long way for all of us grey beards - using JCL PASS for a cataloged data set before VSAM BCS catalogs should have resulted in a small run time improvement. In other words, JCL like this -
Code:
//A       EXEC PGm=...
//ADS      DD  DISP=(SHR,PASS),DSN=...
//B        EXEC PGm=...
//ADS      DD  DISP=(SHR,PASS),DSN=...
//C       EXEC PGm=...
//ADS      DD  DISP=(SHR,PASS),DSN=...
//D       EXEC PGm=...
//ADS      DD  DISP=(SHR,PASS),DSN=...
should have run faster than JCL like this -
Code:
//A       EXEC PGM=...
//ADS      DD  DISP=SHR,DSN=...
//B        EXEC PGM=...
//ADS      DD  DISP=SHR,DSN=...
//C       EXEC PGM=...
//ADS      DD  DISP=SHR,DSN=...
//D       EXEC PGM=...
//ADS      DD  DISP=SHR,DSN=...
because the catalog lookup time was probably much slower than retrieving data set information from the JCL "passed data set queue."

These days, of course, catalog lookup times are much faster, though, of course, it is still, I think, slower than using the passed data set queue.

I'm curious, does anyone have a contrary thought about this - preferably backed up by hard numbers - than my long held opinion? Does buffering in the catalog address space affect lookup times. In my example there is no known impact as step run times increase, though that might be an issue with long step run times.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Thu Dec 03, 2015 3:32 am
Reply with quote

The results are unpredictable, sometimes DISP=SHR is faster and sometimes DISP=(SHR,PASS) . icon_smile.gif
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
No new posts exploiting Z16 performance PL/I & Assembler 2
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts pass data as symbolic parameter from ... CLIST & REXX 2
Search our Forums:

Back to Top