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

VSAM file open/close problem in CICS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Tue Feb 26, 2008 5:09 pm
Reply with quote

I created an online VSAM file and made the FCT entry, after that i kept the file with OPEN status but when i am trying to view the file in browse mode with the help of File manager , the system is throwing error message 'Dataset in use'. After closing the file in CICS region it works properly in browse mode.
As i know we need to close online files only when we are working in edit mode.
Can any one help me why there is such problem.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Feb 26, 2008 5:12 pm
Reply with quote

shareoptions?
Back to top
View user's profile Send private message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Tue Feb 26, 2008 5:18 pm
Reply with quote

dbzTHEdinosauer wrote:
shareoptions?


Disposition=shr at the time of defining file through CEDA command
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 26, 2008 5:24 pm
Reply with quote

SHREOPTIONS are assigned to a file when you create it with the DEFINE command.

O.
Back to top
View user's profile Send private message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Tue Feb 26, 2008 5:35 pm
Reply with quote

ofer71 wrote:
SHREOPTIONS are assigned to a file when you create it with the DEFINE command.

O.


In case of CEDA DEF command for file name there is no keyword SHAREOPTIONS , if you are talking about something else can you elaborate.
Back to top
View user's profile Send private message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Tue Feb 26, 2008 5:42 pm
Reply with quote

ofer71 wrote:
SHREOPTIONS are assigned to a file when you create it with the DEFINE command.

O.


SHAREOPTIONS while defining the VSAM cluster was (1 3)
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Feb 26, 2008 6:12 pm
Reply with quote

abhay pratap singh wrote:
SHAREOPTIONS while defining the VSAM cluster was (1 3)
Have you looked up the difference between crossregion shareoption 1 & 2?
SHAREOPTIONS(crossregion[ crosssystem]]1 3)
Back to top
View user's profile Send private message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Wed Feb 27, 2008 11:24 am
Reply with quote

I had defined SHAREOPTIONS earlier as (1 3) which was by default after changing that to (2 3) it worked fine.
Thanks to all for the response.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Using API Gateway from CICS program CICS 0
Search our Forums:

Back to Top