This article provides sample IDMS data sharing definitions.
Release: All supported releases.
Data sharing is the ability for multiple IDMS CVs in a sysplex (in the same or different LPARs) to simultaneously share update access to the same database area(s).
Note: the CF definitions described below are defined in the IBM Coupling Facility, not in IDMS. Most likely, System Programmers will need to be consulted for making those definitions.
All of the sizing information in these samples are examples only and in practice will be site-specific. Consult the Data Sharing documentation page for more specific guidelines.
STRUCTURE NAME(IDMSEMPDSGCACHE1) SIZE(24M) PREFLIST(COUPLET1)STRUCTURE NAME(CAIDMSEMPDSGLI) SIZE(24M) PREFLIST(COUPLET1)STRUCTURE NAME(CAIDMSEMPDSGLK) SIZE(24M) PREFLIST(COUPLET1)
Update the DMCL of all of the involved CVs to identify the shared cache structures to be used and whether or not a segment or area is to be shared. In this example, an entire segment is being shared. If any of the files of an area that is to be shared do not have a shared cache defined to them, the shared cache defined in the DATA SHARING DEFAULT SHARED CACHE clause will be used for that file. This technique is used in the following example.ALTERDMCL CVnnDMCL DATA SHARING DEFAULT SHARED CACHE IDMSEMPDSGCACHE1 LOCK ENTRIES 131072 MEMBERS 4 ON CONNECTIVITY LOSS NOABEND INCLUDE SEGMENT EMPDEMO ON STARTUP SET STATUS TO UPDATE ON WARMSTART MAINTAIN CURRENT STATUS DATA SHARING YES DEFAULT SHARED CACHE NULL ;
Update the SYSIDMS file of all of the involved CVs, specifying the data sharing group name (which must be the same) and a unique member name within the group for each CV.//SYSIDMS DD *DSGROUP=EMPDSGDCNAME=SYSTEMnn
Further details on these topics and everything else regarding IDMS's sysplex exploitation can be found at IDMS in a Sysplex Environment.