Start change selector automatically with the CONNECTCDC subsystem - Connect_CDC - aws_mainframe_modernization_service - connect_cdc_mimix_share - 6.x

Connect CDC Getting Started Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
6.x
Language
English
Product name
Connect CDC
Title
Connect CDC Getting Started Guide
Copyright
2024
First publish date
2003
Last updated
2024-10-15
Published on
2024-10-15T20:38:41.117981

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(SHAREV60/RPCS400) TEXT('Job Queue for Connect CDC Change Selector')
  2. Add the job queue to the subsystem:

    addjobqe sbsd(SHAREV60/CONNECTCDC) jobq(SHAREV60/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(SHAREV60/RPCS400) jobq(SHAREV60/RPCS400) user(qarep1)
    rqsdta('call pgm(rpcs400) parm(''RPCS400_01'' ''SHAREMB'' ''1'' '' '' '' '')')
    inllibl(SHAREV60)
  4. Add an auto start job entry for the Change Selector to the subsystem:

addaje sbsd(SHAREV60/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.