When you stop OptiConnect, you are also stopping any prestarted agent jobs. The more agent jobs, the longer it takes to end QSOC subsystem. Similarly, when starting OptiConnect, the larger the initial number of agent jobs you specified, the longer the subsystem takes to start.
Balancing the number of prestarted agent jobs, and the time the subsystem takes to start or stop, is important. Prestarted agent jobs use resources as the jobs start or end. You must consider how many prestarted agent jobs you may need.
For example, if there are many short transactions, as when retail stores process credit card authorizations, increasing the number of prestarted jobs may be beneficial. Increasing the number of prestarted jobs also increases the time the subsystem QSOC takes to start. However, prestarted jobs allow you to quickly process the credit card authorizations.
On the other hand, you may have longer or less numerous transactions. For example, when a teller at a bank signs on for the day. In this type of environment, you may decide that less prestarted jobs and a shorter system startup is beneficial.
For more information on how to alter the number of prestarted jobs, see OptiConnect performance factors.
Prior to ending the QSOC subsystems, you should vary off the *OPC controllers and the corresponding controllers on the other system. The ENDSBS QSOC command leaves the controllers in an unusable state that requires the user to vary them off, then on, to activate. If the user varies the controllers off manually, then less processing takes place while ending the subsystem.