16.10.2015 Views

Getting Started with IBM Data Studio for DB2

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

210 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>IBM</strong> <strong>Data</strong> <strong>Studio</strong> <strong>for</strong> <strong>DB2</strong><br />

By default, the job manager keeps the history of a job <strong>for</strong> three days. You can configure<br />

how long the job history records are kept in the job history settings. You can also set the<br />

type of job results that you want to keep. By default, both successful and failed job records<br />

are kept. To change the job history settings <strong>for</strong> the <strong>Data</strong> <strong>Studio</strong> web console, from the<br />

History tab, click Job History Settings.<br />

Figure 6.17 – Configure the job history settings<br />

6.7 Scheduling jobs from the <strong>Data</strong> <strong>Studio</strong> client<br />

You can run and schedule jobs from the <strong>Data</strong> <strong>Studio</strong> client using the SQL script editor.<br />

When you have created your script you can select to schedule the script to run as a job in<br />

job manager. When you select the option to schedule the script, the job manager<br />

embedded in the workbench or in the <strong>Data</strong> <strong>Studio</strong> web console in a standalone web<br />

browser window opens.<br />

When you schedule a job from the SQL script editor, the job manager creates a new<br />

unique job <strong>with</strong> that automatically uses the script. You must then select one or more<br />

databases to run the job against. You can also schedule the job to run at a specific time, or<br />

save the job <strong>with</strong>out a schedule if you want to run the job manually.<br />

Note:<br />

To schedule jobs from the <strong>Data</strong> <strong>Studio</strong> full client, you must first open the <strong>Data</strong> <strong>Studio</strong><br />

web console embedded in the client. For more in<strong>for</strong>mation, see Appendix B.1 Integrating<br />

<strong>Data</strong> <strong>Studio</strong> web console <strong>with</strong> <strong>Data</strong> <strong>Studio</strong> full client.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!