How to Synchronize Siebel Batch components from srvrmgr command line utility

Most of the Siebel administrators use Siebel Server Manager command line utility or tool, commonly referred as srvrmgr. Ever wondered how to synchronize the batch components after creating the Siebel components. 1. Synchronize batch components from the command line After a fresh install of a Siebel database and after creating or modifying batch component definitions, administrators must ensure that the data residing in the siebns.dat file (managed by the Siebel Gateway Name Server) is synchronized with data in the S_SRM_ACTION and S_SRM_ACT_PARAM tables in the Siebel database. This is typically accomplished by clicking the Synchronize button in the Synchronize view of the Administration - Server Configuration screen in the Siebel Web Client. For administrators who want to automate the task using a script, you can issue the following command at the srvrmgr prompt: Sync comps Or alternatively Synchronize components As a prerequisite you have to set the environment variable SIEBEL_DEBUG_FLAGS to a value of 16 (ideally as part of the script). Otherwise srvrmgr will just say "Synchronize is not available...". to set the SIEBEL_DEBUG_FLAGS, open the command prompt and type.. SET SIEBEL_DEBUG_FLAGS=16