Oracle® Business Intelligence Scheduler Guide > Using Oracle BI Scheduler Job Scripts >

Oracle BI Scheduler Read/Write Script Object Properties


Oracle BI Scheduler supports the read/write script object properties shown in Table 18.

Table 18. Oracle BI Scheduler Read/Write Script Object Properties
Object Property
Description
Return Value

Message

Sets or returns the Message property of the running instance. The ErrorMessage property can be used to convey meaningful error information. Setting this value changes the Error Message field of a Job Instance. without stopping execution of the current Job Script.

In Windows environments, if the JScript throw() method is called and this property has been set, the value is appended to the message description in the JScript or VBScript Error object.

COM objects that implement the IDispatch interface can be accessed from within Job Scripts. If any method fails and properly provides error information through the SetErrorInfo() method, that information is contained in the Message field of the Job Instance. If the Message property is set before the COM object error is generated, then that string value is appended to the COM object error information.

string

Severity

Sets the instance status. You can set it to any of the Severity Constants (see Severity Constants). By default, it is set to nqSeverityInformation.

string

ExitCode

Sets or returns the Exit Code property associated with the instance. The default is 0 (zero). Refer to the description of ExitCode instance properties in Instance Properties in Oracle BI Scheduler Job Manager.

long

Oracle® Business Intelligence Scheduler Guide Copyright © 2007, Oracle. All rights reserved.