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
 

 

VSAM sharing mode

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
mlp

New User


Joined: 23 Sep 2005
Posts: 91

PostPosted: Thu Jun 30, 2011 3:07 pm    Post subject: VSAM sharing mode
Reply with quote

We have VSAM file defined in CICS region wherein certain CICS applications are doing read/update/write operations. The VSAM file is defined with Disposition( Share ) and Rlsaccess( Notrls ). Now when CICS application writes something into the VSAM file we can see the content from CICS region. But when I view the VSAM through TSO (say via fileaid) I can not see the written records.

I searched and found that the sharing mode makes the difference and the buffers are only shared within address-space and hence via outside address space the buffer data is not shown or is accessible.

Now is there any way via which I can read the data residing in the buffer. I can think of two options.

- Chnage the sharing mode
- Somehow get the buffer dat written into physical storage so that it can be accessed via other address spaces.

Please let me know how can we materilise the second option?
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7306

PostPosted: Thu Jun 30, 2011 3:08 pm    Post subject: Reply to: VSAM sharing mode
Reply with quote

Close the file in CICS?
Back to top
View user's profile Send private message
mlp

New User


Joined: 23 Sep 2005
Posts: 91

PostPosted: Thu Jun 30, 2011 3:10 pm    Post subject:
Reply with quote

We tried doing that. But it is not working.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7306

PostPosted: Thu Jun 30, 2011 3:12 pm    Post subject:
Reply with quote

Don't understand what you mean by "not working". If you close the file, there are no longer any buffers associated with it. So, perhaps "buffers" was an incorrect initial determination of your problem.
Back to top
View user's profile Send private message
mlp

New User


Joined: 23 Sep 2005
Posts: 91

PostPosted: Thu Jun 30, 2011 3:15 pm    Post subject:
Reply with quote

When I close the file I can not see the content via fileaid in a TSO session. But the same file when I see via XPEDITOR in CICS env I see the content. I agree with that when file is closed the content should be written into the actual storage, but it is not happening.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7992
Location: Bellevue, IA

PostPosted: Thu Jun 30, 2011 3:22 pm    Post subject:
Reply with quote

Quote:
When I close the file I can not see the content via fileaid in a TSO session. But the same file when I see via XPEDITOR in CICS env I see the content. I agree with that when file is closed the content should be written into the actual storage, but it is not happening.
You are wrong. The buffer write occurs when the file is closed. However, since you did not log off TSO and log back on, the TSO buffers were not refreshed when CICS wrote the updates to the VSAM file.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 4 Wed Jan 11, 2017 6:18 pm


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