Home > Ask the Data Center Experts > CICS Questions & Answers > Reading VSAM data from different LPARs
Ask The Data Center Expert: Questions & Answers
EMAIL THIS

Reading VSAM data from different LPARs

Robert Crawford EXPERT RESPONSE FROM: Robert Crawford

Pose a Question
Other Data Center Categories
Meet all Data Center Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 09 October 2007
Can we read data from a VSAM file that is on a different LPAR? If so are there any performance related issues?

>
EXPERT RESPONSE
A VSAM file's share options determine how it can be processed by multiple users. You can provide two numbers on the share option parameter. The first specifies the type of sharing allowed by address spaces on the same LPAR. The second number denotes cross-system sharing.

Share options of (2,3) allow one address space to update the dataset and any number to read it. However, it is the user's responsibility to provide read integrity. Reading without integrity can cause problems with stale data and incomplete pointers.

Share options of (3,4) allow a dataset to be read and written by any number of users. However, it is up to the application to provide read and write integrity using ENQ or RESERVCE macros to serialize access. Not only is this complicated, it's asking for trouble.

You may also be opening yourself up for performance problems if the dataset is heavily used. One "hot" system could keep other LPARs from getting to the file. However, with the new architecture of storage devices and the development of faster channels and parallel access volumes (PAVs), the days of moving datasets off of heavily used volumes are fading fast.

If you intend to share the dataset for read and write you will have to use the serialization techniques mentioned above. This could turn into a performance problem because enqueuing across LPARs is not cheap. You may also get into a situation where a program hangs up while holding the enqueue, thus shutting all the other readers and writers out.


MORE ON VSAM:

VSAM basics (Oct. 31, 2006)
Virtual Storage Access Method (VSAM) still holds mountains of the world's data sets. This column explains how VSAM works.

CICS-VSAM tuning options
Expert Robert Crawford discusses a user's decreased system performance in relation to its VSAM stats.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
CICS
Which MQ Queue is related with which CICS transaction?
Can a program use IXLLIST macros in CICS?
VSAM files in CICS -- Batch report help
Finding executed statements in CICS
Submitting a batch job from CICS
Automating FTP transfers to AIX
FTP a dataset from MVS to Linux
Mainframe FTP - A simple check
Failed arithmetic operations on CICS programs written in C
Does replicating DB2 tables into CICS tables affect CPU usage?

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2005 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts