Restarting a Load Plan from a Command Line

20-18 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator Using the View Schedule Dialog The schedule is displayed in form of a Gantt diagram. Table 20–8 lists the details of the Schedule dialog. If you select a zone in the diagram keep the mouse button pressed, you automatically zoom on the select zone. By right-clicking in the diagram, you open a context menu for zooming, saving the diagram as an image file, printing or editing the display properties.

20.9.2 Scheduling a Scenario or a Load Plan with an External Scheduler

To start a scenario or a Load Plan with an external scheduler, do one of the following: ■ Use the startscen or startloadplan command from the external scheduler ■ Use the web service interface for triggering the scenario or Load Plan execution For more information, see: ■ Section 20.3.2, Executing a Scenario from a Command Line ■ Section 20.11.2, Executing a Scenario Using a Web Service ■ Section 20.6.2, Executing a Load Plan from a Command Line ■ Section 20.11.5, Executing a Load Plan Using a Web Service If a scenario or a Load Plan completes successfully, the return code will be 0. If not, the return code will be different than 0. This code will be available in: ■ The return code of the command line call. The error message, if any, is available on the standard error output. ■ The SOAP response of the web service call. The web service response includes also the session error message, if any. Note: The Scheduling Information is retrieved from the Agents schedule. The Agent must be started and its schedule refreshed in order to display accurate schedule information. Table 20–8 Scheduling Details Selected Agent Agent for which the Schedule is displayed. You can display also the schedule of all agents by selecting All Agents. Selected Work Repository Only the scenarios executed in the selected Work Repository are displayed in the schedule. Default is All Work Repositories. Scheduling from... to... Time range for which the scheduling is displayed. Click Refresh to refresh this schedule. Update Click Update to update the schedule for the selected agents Time Range The time range specified 1 hour, 2 hours, and so forth allows you to center the diagram on the current time plus this duration. This feature provides a vision of the sessions in progress plus the incoming sessions. You can use the arrows to move the range forward or backward. Scenarios details This panel displays the details and execution statistics for each scheduled scenario. Running Integration Processes 20-19

20.10 Simulating an Execution

In Oracle Data Integrator you have the possibility at design-time to simulate an execution. Simulating an execution generates and displays the code corresponding to the execution without running this code. Execution simulation provides reports suitable for code review. To simulate an execution:

1. In the Project view of the Designer Navigator, select the object you want to

execute.

2. Right-click and select Execute.

3. In the Execution dialog, set the execution parameters and select Simulation. See

Table 20–1 for more information.

4. Click OK.

The Simulation report is displayed. You can click Save to save the report as.xml or.html file.

20.11 Managing Executions Using Web Services

This section explains how to use a web service to perform run-time operations. it contains the following sections. ■ Section 20.11.1, Introduction to Run-Time Web Services ■ Section 20.11.2, Executing a Scenario Using a Web Service ■ Section 20.11.3, Monitoring a Session Status Using a Web Service ■ Section 20.11.4, Restarting a Session Using a Web Service ■ Section 20.11.5, Executing a Load Plan Using a Web Service ■ Section 20.11.6, Stopping a Load Plan Run Using a Web Service