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

multiple read on flat file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
s.ayodhyawasi

New User


Joined: 16 Sep 2006
Posts: 13

PostPosted: Wed Feb 11, 2009 8:00 pm
Reply with quote

If a particular flat file is being used for reading in program, and it's defined as disp=shr in jcl. Theoretically it can be shared across multiple job same time.

But could there be any problem in actual running. i mean is there any limit of something, like how many job can read it simultaneously?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Feb 11, 2009 8:03 pm
Reply with quote

None that I know of
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed Feb 11, 2009 8:40 pm
Reply with quote

There's some limit to the number of concurrent accesses one disk and channel can support, but that's probably about the only limit.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Feb 11, 2009 10:57 pm
Reply with quote

Hello,

It is usually not a good practice to use disp=shr for qsam files. . .

Many organizations/systems will not promote jobs to production if sequential files are defined as shr.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Feb 12, 2009 12:29 am
Reply with quote

Quote:
Many organizations/systems will not promote jobs to production if sequential files are defined as shr.

Once worked in a shop that demanded that files were DISP=OLD even for read only. I done an analysis and presented it to mismanagement and gave an estimated reduction of elapsed overnight batch cycle, and lo and behold DISP=SHR was flavour of the month.
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 split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top