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. |
-
Define a job queue for the Change Selector:
crtjobq jobq(SHAREV60/RPCS400) TEXT('Job Queue for Connect CDC Change Selector')
-
Add the job queue to the subsystem:
addjobqe sbsd(SHAREV60/CONNECTCDC) jobq(SHAREV60/RPCS400) SEQNBR(31)
-
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)
-
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.