SearchReg is a User Defined Function (UDF) that was written by one of the board members. As such, it requires that you include the function in your script and that you run with Kixtart 4.0

The syntax for SearchReg is in the comment header of the UDF itself. Have a read and let the board know of any concerns.

-Shawn