Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
VSAM file open/close problem in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
Author Message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 33
Location: noida

PostPosted: Tue Feb 26, 2008 5:09 pm    Post subject: VSAM file open/close problem in CICS
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
References
PostPosted: Tue Feb 26, 2008 5:09 pm    Post subject: Re: VSAM file open/close problem in CICS Reply with quote

dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1067
Location: germany

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

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

New User


Joined: 22 Nov 2007
Posts: 33
Location: noida

PostPosted: Tue Feb 26, 2008 5:18 pm    Post subject:
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: 1796
Location: Israel

PostPosted: Tue Feb 26, 2008 5:24 pm    Post subject:
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: 33
Location: noida

PostPosted: Tue Feb 26, 2008 5:35 pm    Post subject:
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: 33
Location: noida

PostPosted: Tue Feb 26, 2008 5:42 pm    Post subject:
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: 1088
Location: At my desk

PostPosted: Tue Feb 26, 2008 6:12 pm    Post subject:
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: 33
Location: noida

PostPosted: Wed Feb 27, 2008 11:24 am    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1