Start change selector automatically with the CONNECTCDC subsystem - Connect_CDC - aws_mainframe_modernization_service - connect_cdc_mimix_share - Latest

AWS Mainframe Modernization - Data Replication for IBM i

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
AWS Mainframe Modernization > AWS Mainframe Modernization Service
Version
Latest
Language
English
Product name
AWS Mainframe Modernization
Title
AWS Mainframe Modernization - Data Replication for IBM i
Copyright
2024
First publish date
2003
Last updated
2024-02-01
Published on
2024-02-01T23:02:31.099696

Optionally, depending on your requirements, you can start the Change Selector automatically when the CONNECTCDC subsystem starts. Do the following to modify the subsystem so that the Change Selector starts with CONNECTCDC. The variables in tick marks ('') are site dependent; substitute a value as appropriate.

Term

Refers to...

SHAREMB

Metabase library.

HOST_USER

   Replication userid used to connect to the IBM i. In the example below, QAREP1 is the host user.

SHAREV570

Connect CDC Install Library.

  1. Define a job queue for the Change Selector:

    crtjobq jobq(SHAREV570/RPCS400) TEXT('Job Queue for Connect CDC Change Selector')
  2. Add the job queue to the subsystem:

    addjobqe sbsd(SHAREV570/CONNECTCDC) jobq(SHAREV570/RPCS400) SEQNBR(31)
  3. Create a job description for the Change Selector that defines how the Change Selector is started and some of its job attributes:

    crtjobd jobd(SHAREV570/RPCS400) jobq(SHAREV570/RPCS400) user(qarep1)
    rqsdta('call pgm(rpcs400) parm(''RPCS400_01'' ''SHAREMB'' ''1'' '' '' '' '')')
    inllibl(SHAREV570)
  4. Add an auto start job entry for the Change Selector to the subsystem:

addaje sbsd(SHAREV570/CONNECTCDC) job(RPCS400) jobd(SHAREV570/RPCS400)

Now, the subsystem can be stopped and restarted so that the Connect CDC Listener and Change Selector start automatically in the subsystem when CONNECTCDC is started.