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

VSAM files not Shared with "SHR" option


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

New User


Joined: 25 Jan 2007
Posts: 18
Location: HK

PostPosted: Thu Nov 08, 2007 7:35 am
Reply with quote

enrico-sorichetti wrote:
Does Your first jobrun long enough to ...

from Your tso session enter the command
"ISRDDN" or "TSO ISRDDN" if the first one fails,

enter "ENQ"

enter the job name

You will get a list of the resources enqued upon by the job

the resources in red will be held in exclusive control

if Your dataset is in red investigate the program why a shared enq becomes
an exclusive one


Hi there, I have tried what you suggested and found that both datasets are on the list and one of the dataset is highlighted (in exclusive mode).
The first job has enough time to go. Actually, it is a whole day job which will keep running until 2:00am and it will be refresh itself and run again and again.....until the next refresh time. Anyway, will keep you guys updated if I find anything new.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 08, 2007 12:24 pm
Reply with quote

Now the only thing left to do is to find out why the dataset is
under an exclusive enq...

good luck!
Back to top
View user's profile Send private message
FazerKing

New User


Joined: 25 Jan 2007
Posts: 18
Location: HK

PostPosted: Tue Nov 20, 2007 8:44 am
Reply with quote

Just found the reason. For file sharing, it seems like it's only allowed while online function, but not for batch run.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Nov 20, 2007 12:59 pm
Reply with quote

Quote:
ust found the reason. For file sharing, it seems like it's only allowed while online function, but not for batch run.


the reason is WRONG but if You are satisfied with it it' s ok for me..
Back to top
View user's profile Send private message
FazerKing

New User


Joined: 25 Jan 2007
Posts: 18
Location: HK

PostPosted: Tue Nov 20, 2007 2:07 pm
Reply with quote

The reason came up from someone who is one of the senior of the ex company. of course, I'm not satisfied with it. But I can't flight back with a better answer. Did you try to simulate the same situation to run a batch job like this?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Nov 20, 2007 2:13 pm
Reply with quote

Quote:
simulate the same situation to run a batch job like this?


it happened at a customer location...
never had any problem sharing in the way You are trying...
we sometimes had some read inconsistencies due to a programming glitch
of not enqueuing properly ( buffer refresh issue )
( we also changed the option to share 4 which refreshes the buffers for the read )

but a question comes to my mind ..

do You have on that cluster a aix/path define with the upgrade option ??
that could be the problem..
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Nov 20, 2007 2:28 pm
Reply with quote

Quote:
( we also changed the option to share 4 which refreshes the buffers for the read )


please delete the quoted statement from my previous append...
never do brain multitasking ... :-)
Back to top
View user's profile Send private message
FazerKing

New User


Joined: 25 Jan 2007
Posts: 18
Location: HK

PostPosted: Tue Nov 20, 2007 2:33 pm
Reply with quote

Yes.....sorry man....did not mention the alternative index. The program file came with the alternative index.....is that the major problem on file sharing?
Back to top
View user's profile Send private message
FazerKing

New User


Joined: 25 Jan 2007
Posts: 18
Location: HK

PostPosted: Wed Nov 21, 2007 9:12 am
Reply with quote

Never mind. The sharing is now working. Thanks guys.
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 Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top