Edit the thread pool information in the configuration file to administer thread pools, or use create thread pool, alter thread pool, and drop thread pool .
max online engines controls the total number of engines available to SAP ASE.
Use sp_configure to reset max online engines.
sp_configure "max online engines", 3
Restart the server to reset the number of engines.