About Error Handling for the Siebel Server Manager Program

Error codes are returned by the Siebel Server Manager program (srvrmgr) in the manner described in this topic. Program behavior is described for different usage cases, including those based on the flags that you use to run srvrmgr. Any nonzero values returned are those that might be expected from a shell script. In earlier versions of Siebel CRM, srvrmgr returns 0 (zero) in all of the following cases.

  • When you run srvrmgr with valid syntax and valid arguments for flags and no error occurs, then srvrmgr returns 0 (zero).

  • When you run srvrmgr with invalid syntax, such as without the required flag /g or -g, then srvrmgr returns a nonzero value.

  • When you run srvrmgr with valid syntax but with invalid arguments for any flags, such as with an invalid user name with the /u or -u flag, then srvrmgr returns a nonzero value.

  • When you run srvrmgr with the /c or -c flag:

    • If no error occurs, then srvrmgr returns 0 (zero).

    • If any error occurs, then srvrmgr returns a nonzero value.

  • When you run srvrmgr with the /i or -i flag and without the /b or -b flag:

    • If no error occurs, then srvrmgr returns 0 (zero).

    • If one or more command process specified in the input file fails, then srvrmgr returns 0 (zero).

    • If srvrmgr cannot connect with the Siebel Gateway or cannot open the specified input or output file, then srvrmgr returns a nonzero value.

  • When you run srvrmgr with the /i or -i flag and the /b or -b flag:

    • If no error occurs, then srvrmgr returns 0 (zero).

    • If any error occurs, then srvrmgr returns a nonzero value.