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
 

 

Reg; VSAM share options in CICS

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

New User


Joined: 25 Mar 2009
Posts: 78
Location: India

PostPosted: Wed Oct 14, 2009 4:34 pm    Post subject: Reg; VSAM share options in CICS
Reply with quote

Hi,

The scenario is as below, I am trying to read a VSAm file and update an online (CICS), through a batch cycle process.We are unable to access the files when the batch process is in progress,is there a way I can use the VSAm files even when the batch cycle executes.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8119
Location: East Dubuque, Illinois, USA

PostPosted: Wed Oct 14, 2009 4:35 pm    Post subject:
Reply with quote

What are the SHAREOPTIONS on the file?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Oct 14, 2009 4:48 pm    Post subject:
Reply with quote

I think that you might need to investigate DFSMStvs for sharing between batch and CICS.
Back to top
View user's profile Send private message
ajeshrn

New User


Joined: 25 Mar 2009
Posts: 78
Location: India

PostPosted: Wed Oct 14, 2009 4:52 pm    Post subject: VSAM share options in CICS
Reply with quote

Hi Robert,

The shareoption is (1,3) in our case.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8119
Location: East Dubuque, Illinois, USA

PostPosted: Wed Oct 14, 2009 5:06 pm    Post subject:
Reply with quote

The 1 means:
Quote:
OPT 1
The data set can be shared by any number of users for read processing, or the data set can be accessed by only one user for read and write processing.
so by the very definition of the file, the behavior you are seeing is the behavior you want.

If you want to be able to read the file in CICS while the batch process is updating it, you must use SHAREOPTIONS(2 3) at a minimum. And be aware that the CICS region will not be able to read any records in the control interval being updated in batch.
Back to top
View user's profile Send private message
ajeshrn

New User


Joined: 25 Mar 2009
Posts: 78
Location: India

PostPosted: Wed Oct 14, 2009 5:26 pm    Post subject:
Reply with quote

As expat told I was just analysing on DFSMStvs,It says...

Can be dynamically enabled DFSMStvs (Transactional VSAM Services) enables batch jobs and CICS online transactions to update shared VSAM data sets concurrently.

DFSMS Transactional VSAM Services (DFSMStvs) is an optional z/OS feature that enables batch jobs and CICS online transactions to update shared VSAM data sets concurrently. Multiple batch jobs and online transactions can be run against the same VSAM data sets, and DFSMStvs helps ensure data integrity for concurrent batch updates while CICS ensures it for online updates.

So we have some thing which can be done concurrently.How can we implement this?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Oct 14, 2009 8:14 pm    Post subject:
Reply with quote

You purchase it from IBM, and then follow the installation procedures.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 14, 2009 9:02 pm    Post subject: Reply to: Reg; VSAM share options in CICS
Reply with quote

You can write an Batch EXCI program, which LINKS to a user-written CICS program in the target region, which can access the VSAM file. However, all of the associated links and other requirements, must be previously defined.

Be aware, EXCI should be used for minimum access.

It's cousin, ECI, is somewhat faster, but using either is not recommended for high-volume.

Earl may have a recommendation.... icon_wink.gif

Bill
Back to top
View user's profile Send private message
ajeshrn

New User


Joined: 25 Mar 2009
Posts: 78
Location: India

PostPosted: Tue Oct 20, 2009 12:50 pm    Post subject:
Reply with quote

Hi all,

Thanks for all your help.
We are doing further analysis on how we can accomplish the same through ECI programs.Will update you on the progress.
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 How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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