Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DISP=(SHR,PASS) performance opinion

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
steve-myers

Active User


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

PostPosted: Wed Dec 02, 2015 11:53 pm    Post subject: DISP=(SHR,PASS) performance opinion
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Thu Dec 03, 2015 3:32 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts What are the way we can improve CPU p... Gunapala CN DB2 10 Mon Oct 24, 2016 2:16 pm
No new posts Is it possible to pass variables of s... Csongor CLIST & REXX 2 Fri Jun 10, 2016 7:33 pm
No new posts how to pass data from a rexx program ... Akshay Yadav TSO/ISPF 8 Mon Feb 15, 2016 12:05 pm
No new posts How to pass a structure to external p... Pedro PL/I & Assembler 8 Tue Jan 19, 2016 7:05 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us