Using Siebel Tools > Using Siebel Script Editors > Using the Siebel Debugger >

Validating Script Syntax


The debugger includes a syntax checker that you can use to make sure your script compiles properly.

CAUTION:  The Check Syntax feature identifies only syntax errors and errors that occur if an object or variable is not initialized. It does not identify other types of errors and it cannot trap an error that might cause a run-time error. It only examines script that is attached to the current active object. If an error exists in another script, then you cannot compile the repository.

To validate script syntax

  1. Open the Siebel Script Editor, click the Debug menu, and then click Check Syntax.

    Siebel Tools does a test compile, and then does one of the following:

    • It finds no error. It displays nothing.
    • It finds an error. It displays a dialog box that describes the error.
  2. If the script includes an error, then click Go to Line in the dialog box.

    Siebel Tools positions the cursor on the script line that causes the error and highlights this line.

  3. Correct the code and repeat Step 1.

    If the syntax of the line that you modified is correct, then the dialog box displays the next error it finds, if any.

  4. Repeat Step 1 and Step 2 until you correct all errors.
  5. Click the File menu, and then click Save.
  6. Compile the repository.

    For more information, see Compiling Your Modifications.

  7. When the compile finishes, click Start to restart Siebel CRM.
Using Siebel Tools Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.