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
 

 

Cannot open VSAM file for EDIT operation in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
ranjani
Warnings : 1

New User


Joined: 25 Oct 2006
Posts: 13

PostPosted: Fri Mar 02, 2007 7:25 am    Post subject: Cannot open VSAM file for EDIT operation in CICS
Reply with quote

i have a vsam file which is defined with shareoptions(3,3).

I am able to do READ ONLy on this file in the CICS region. when i add options like DEL, BRO, UPD etc for the file and open it, it says open/close failed

Fil(JFILE1 ) Vsa Clo Une Rea Upd Add Bro Del Sha OPEN/CLOSE FAILED
Dsn( TRN01.CUST.VSAM )

can someone please explain this. also can you please say how to find the failure reason
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Mar 02, 2007 7:47 am    Post subject:
Reply with quote

Fairly simple, You say you have "READ ONLY" access and yet you attempt to access it with DELete and UPDate? What are ecpecting, "Oh, go ahead, I trust you.... icon_rolleyes.gif ".
Back to top
View user's profile Send private message
ranjani
Warnings : 1

New User


Joined: 25 Oct 2006
Posts: 13

PostPosted: Fri Mar 02, 2007 7:57 am    Post subject:
Reply with quote

i mean to say i can do "READ' only. the manuals say, if a file is defined with shareoptions(3,3), we should be able to do update, delete, add etc of records in the cics region. But i am not able to do any of these.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Mar 02, 2007 8:22 am    Post subject:
Reply with quote

Hello,

Is this a test file that only you will be using?

If it is a shared file, someone/something else may have it. You might be able to do "dirty" reads, but not be able to do any kind of update.
Back to top
View user's profile Send private message
ranjani
Warnings : 1

New User


Joined: 25 Oct 2006
Posts: 13

PostPosted: Fri Mar 02, 2007 8:32 am    Post subject:
Reply with quote

this is a test file which i am only using
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Mar 02, 2007 8:36 am    Post subject:
Reply with quote

Hello,

What happens if you try to update this file in batch?
Back to top
View user's profile Send private message
ranjani
Warnings : 1

New User


Joined: 25 Oct 2006
Posts: 13

PostPosted: Fri Mar 02, 2007 8:57 am    Post subject:
Reply with quote

in Batch, it is successful...only through CICS, it fails
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Mar 02, 2007 8:57 pm    Post subject:
Reply with quote

What is the FCT set to for this file.???
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Mar 02, 2007 11:17 pm    Post subject:
Reply with quote

At the time of the open, what is displayed on the console log? There should be something like these: DFHFC0952 or DFHFC0955 or something else. That will give you your answer.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS to Webservices safexc CICS 1 Sun Jan 22, 2017 5:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 2 Thu Jan 19, 2017 1:31 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm


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