Create a CMAS and link to the CMAS MP

Create a CMAS on System B that will control its own CICS regions. In the learning path example, this is EYUCMS2A.

Figure 1. Create the CMAS on System B and configure it using batchrep to link to the CMAS MP on System AThe
diagram shows a CMAS called EYUCMS2A on System B with a link to its data repository.
There is a two way link between the CMAS MP on System A and the CMAS on System
B, produced by running batchrep against both CMASs.
  1. Follow the steps outlined in Create a CICSPlex SM address space to create the CMAS on System B.
  2. Run batchrep to link EYUCMS2A to the CMAS MP on System A.
    1. Create an input file in the data set you already created for storing input files.
    2. Edit the input file to contain the following information.
      CONTEXT EYUCMS2A;
      CREATE CMTCMDEF TARGETNAME(EYUCMS1A)
             TARGETAPPL(EYUCMS1A)
             SYSID(EY1A)
             PROTOCOL(MRO)                                                
             MODENAME( )                                                  
             RECVPFX(<)                                                   
             SENDPFX(>)                                                   
             DESC(Example CMAS link definition)                           
             SENDBUF(8000)                                                
             RECVBUF(8000)                                                
             SECATTACH(LOCAL)                                             
             SECNAME( )                                                   
       ;                   
    The CREATE CMTCMDEF statement creates the link from the CMAS on System B to the CMAS MP on System A. This is defined in the data repository of the CMAS EYUCMS2A.
  3. Run batchrep to create a link from the CMAS MP on System A to the CMAS on System B.
    1. Create an input file in the data set you already created for storing input files.
    2. Edit the input file to contain the following information.
      CONTEXT EYUCMS1A;
      CREATE CMTCMDEF TARGETNAME(EYUCMS2A)
             TARGETAPPL(EYUCMS2A)
             SYSID(EY2A)
             PROTOCOL(MRO)                                                
             MODENAME( )                                                  
             RECVPFX(<)                                                   
             SENDPFX(>)                                                   
             DESC(Example CMAS link definition)                           
             SENDBUF(8000)                                                
             RECVBUF(8000)                                                
             SECATTACH(LOCAL)                                             
             SECNAME( )                                                   
       ;                   
    This input file creates the link from the CMAS MP to the CMAS on System B and updates the definitions in the data repository of EYUCMS1A.