IBM Support

Creating a CMAS to CMAS link (CMTCMDEF) from a new CMAS that is not yet known to the plex

Question & Answer


Question

How do I create the CMAS to CMAS link (CMTCMDEF) definition in a new CMAS when it is not yet part of the plex? I created a new LPAR and moved some CICS regions over to it. I created a new CMAS on this LPAR but did not create a Web User Interface (WUI) address space. I am trying to connect this new CMAS to the maintenance point (MP) CMAS and thought that by creating a CMAS to CMAS link from the MP would start the connection process.

Answer

The CMAS to CMAS links have to be defined both directions, and until that has been done, the link can not be used. This is analogous to defining a multiregion operation (MRO) connection between two regions. You have to define and install it both ways before you can actually use it. When you defined the link from the MP CMAS to the new CMAS, that defined half of the connection. But it will not become an active link until the link is defined from the new CMAS to the MP CMAS. In order to define the CMAS to CMAS link (CMTCMDEF) definition(s) you can do one of two things:

  • Have a WUI attached to both the CMASs, create the CMTCMDEF using the WUI or connect the CICS Explorer to both WUI servers and create the CMTCMDEF. Then you can bring down one of the WUI servers and forget about it if it is no longer needed. The CMASs would then be able to connect. Note: The WUI address space must be on the same LPAR as the CMAS.

  • Use the CICSPlex SM definition utility, EYU9XDBT, to define the CMAS-to-CMAS links on both sides in batch. This batch job must be ran on the same LPAR where the new CMAS is currently running.

You can use something similar to the following to define the link using batch:

 //*
 //EYU9XDBT EXEC EYUJXBTP,CPSMHLQ=&CPSMHLQ 
 //*
 //EYU9XDBT.SYSIN DD *
 CONTEXT XXXXXXXX         <--- set to CMAS where defining resource 
 OPTION FEEDBACK VERBOSE
 IMPORT NEWCMAS * * 
 /* 
 //EYU9XDBT.NEWCMAS DD *
 DEFINE CMTCMDEF YYYYYYYY
 CMTCMDEF_DESCCODEPAGE = "37";
 CMTCMDEF_PROTOCOL     = "MRO"; 
 CMTCMDEF_RECVBUF      = "8192"; 
 CMTCMDEF_RECVPFX      = "<"; 
 CMTCMDEF_SECATTACH    = "LOCAL";
 CMTCMDEF_SENDBUF      = "8192"; 
 CMTCMDEF_SENDPFX      = ">"; 
 CMTCMDEF_SYSID        = "YYYY"; 
 CMTCMDEF_TARGETAPPL   = "XXXXXXXX";
 CMTCMDEF_TARGETNAME   = "XXXXXXXX";
 // 
 

Shayla Robinson
IBM CICS and CPSM Level2 Support

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"CPSM","Version":""}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server

Document Information

Modified date:
10 April 2017

UID

dwa1365235