Parameters used in EYUJXBT2

The EYUJXBT2 sample imports definitions to create a CMAS-to-CMAS connection. The sample sets the context to the first CMAS name and imports the link to the second CMAS. Then the sample changes the context to the second CMAS name and imports the link to the first CMAS.

The CMAS that owns the repository in which you are creating definitions must be active when you run the EYUJXBT2 job. Also, the EYUJXBT2 job must run in the same z/OS image as the CMAS. The EYUJXBT2 JCL does not have a data set definition (DD) statement for the repository because all access to the repository is through the CMAS, using the API.

EYUJXBT2 gives an example of using the IMPORT commands and has the following parameters, which you edit to specify your own names:
CONTEXT
Sets the CICSPlex® SM context in which the utility is to operate.
The format of the parameter to set the context is:
CONTEXT cmasname
where cmasname is the name of the CMAS to which you want to make changes.
OPTION DUPREC
Specifies the action that the program takes if it detects any definitions in the IMPORT stream that already exist in the local data repository. Permitted options are as follows:
  • OPTION DUPREC REJECT. Commands that follow the duplicate definition are rejected.
  • OPTION DUPREC ABORT. The job is terminated.
  • OPTION DUPREC SKIP. Leave the existing record in place.
  • OPTION DUPREC UPDATE. Replace the existing definition.
IMPORT
Imports definitions into the repository.
The format of the parameter is:
IMPORT CMAS1LNK * * 
EYUJXBT2 has an input data stream for CMAS1LNK which includes a CMAS-to-CMAS definition (CMTCMDEF resource table).
If you are adding a secondary CMAS, you must assign it to your CICSplex before it can participate in CICSplex management. Do this in one of the following ways:
  • Issue an Assign action from the EYUSTARTCPLEXDEF WUI view.
  • Use the CICSplex SM API action of ASSIGN against the CPLEXDEF resource table.