In our project a normal Siebel release cycle is of 3 months. This means that we develop for three months and then it goes live in production. Now during our development phase of 3 months we run Full Compile of SRF almost on daily basis and it is usually somebody’s responsibility to start the Full compile.

Now, like most of the clients our client is also US based which means during the last phases of development cycle client tests (UAT) the changes we have done their morning and our evening. During that time the time it is very important to start full compile on time otherwise it could impact client’s testing. After couple of incidents where the person responsible to start full compiles couldn’t do so due to some problem. We decided to automate the process of full compile to get rid of this problem.

And here is how we did it.

We created a batch file which was as following

cd "c:\program files\siebel\7.8\tools\bin\
siebdev.exe /c tools.cfg /d SERVER /u USERNAME /p PASSWORD /bc "Siebel Repository" "FullCompile.srf"
(Replace the username and password with your Siebel Username and Password)

Details fo switches used are as following

/C: Tells the configuration file to use
/D: Data source which should be used
/U: Username to start full compile
/P: Password to start full compile
/BC: Repository which should be used for full compile
  Last parameter is the SRF Name

Now to automate the running of this batch file. The steps are valid for Windows 2000 OS

  • Goto Control Panel > Scheduled Tasks
  • Double click on Add Scheduled Tasks
  • Click > Next. (You will see the window shown below)
  • Click > Browse (Select the batch file you have created)
  • Click > Next and then select Daily Option and Click Next
  • Select the Time at which you want to start he full compile
  • Click Next and provide the password and confirm password for username you use to login to Windows OS
  • Click > Next and then Click > Finish

This full compile will create SRF in Siebel Tools\Objects\ENU folder.

You will now see a scheduled task created in the control panel. In this way your full compile will always start on time.

To automate on unix or Solaris systems you can create a Shell Script and cron job.

OkAvarageGoodVery GoodExcellent (6 votes, average: 3.83 out of 5)
Loading ... Loading ...