To stop the subsystem, do the following:
-
In Connect CDC MonCon, stop the Change Selector.
-
Stop the Connect CDC Listener (see the IBM i Installation Guide for more information).
-
Stop the subsystem:
ENDSBS SBS(CONNECTCDC) OPTION(*IMMED) DELAY(10)
Note that if the Change Selector is started with the CONNECTCDC subsystem (see Start Change Selector Automatically with the CONNECTCDC Subsystem) and is manually stopped and started using Connect CDC MonCon or Connece CDC Console, the Change Selector will not start in the CONNECTCDC subsystem automatically. Instead, the Change Selector will be started in the default batch subsystem because the monitoring and control tools use the OMNIREP job description that exists in the Connect CDC install library. To start the Change Selector from the CONNECTCDC subsystem if this occurs, do the following:
-
Modify the CONNECTCDC jobd in the install library. From the CHANGE JOB DESCRIPTION (CHGJOBD) menu, change the job queue to CONNECTCDC and the library to your Connect CDC library where you installed the Change Selector:
-
Using the CHGJOBD command make this jobd point to the CONNECTCDC jobq owned by the CONNECTCDC subsystem:
CHGJOBD JOBD(..../CONNECTCDC) JOBQ(.../CONNECTCDC)
-
Increase the maximum number of jobs in the CONNECTCDC job queue to nomax. It is currently set to 1. You can do this with:
CHGJOBQE SBSD(..../CONNECTCDC) JOBQ(.../CONNECTCDC MAXACT(*NOMAX)
This example uses the library SHARE570;
Before:
JOB DESCRIPTION . . > OMNIREP NAME LIBRARY . . . . . . > SHARE570 NAME, *LIBL,*CURLIB JOB QUEUE . . . . . > QSYSNOMAX NAME, *SAME LIBRARY . . . . . . > QSYS NAME, *LIBL, *CURLIB
After:
JOB DESCRIPTION . . > OMNIREP NAME LIBRARY . . . . . . > SHARE570 NAME, *LIBL, *CURLIB JOB QUEUE . . . . . > CONNECTCDC NAME, *SAME LIBRARY . . . . . . > SHARE570 NAME, *LIBL, *CURLIB
You can now manually start the Change Selector in the CONNECTCDC subsystem. If you are unable to start the CONNECTCDC subsystem, verify that the library the CONNECTCDC subsystem started is correct and matches what you are specifying in the JOB DESCRIPTION.
WRKSBSD SBSD(SHARE570/CONNECTCDC)option 5: displayverify the status is active DISPLAY SUBSYSTEM DESCRIPTIONSUBSYSTEM DESCRIPTION:CONNECTCDC LIBRARY:SHARE570STATUS: ACTIVE