Hi Pol,
Its at [oacs_root]/packages/acs-tcl/tcl/utilities-proc.tcl around 2,000 line marker. You can use the api browser at http://[host]/api-doc.
It maybe that you are not able to connect to a database.... ooops sorry about that line above. If you are using ACS 3.4.x it may reside at [acs_root]/tcl/utilities.tcl or something. Try using grep in getting the code.