Deploy and Exeute Jobs

After the Data Management Server is registered, you are ready to deploy and run jobs. There are four top-level folders listed for each registered Data Management Server:

A note about Profile Jobs: Only profiles that are resident in the Data Management Repository for your Data Management Server are visible in the Profile Jobs folder for the Data Management Server.

Batch and Profile Jobs

When you select the Batch Jobs folder or the Profile Jobs folder, a list of jobs displays in the right information pane exposing the following toolbar:

Information Pane Toolbar

Deploy a Batch Data Job

To deploy a batch data job to the Data Management Server, it is imported from the repository. This procedure assumes that the job has been exported to the repository in Data Management Studio.

  1. Highlight the batch jobs folder and select Import.


Import Batch Jobs

  1. Using the Import From Repository dialog box, navigate to the job or jobs to be deployed and check the box next to the job name, or select the box next to a folder name to select all jobs in that folder.
  2. Select Next.


Import from Repository Dialog Box

Note: It is recommended that you create the same folder structure on the Data Management Server that was created in Data Management Studio. If your jobs are in a sub-folder of batch jobs, create the same sub-folder when you import your jobs to the server. It is recommended that you build and test your batch jobs in the batch jobs folder (or in a sub-folder of it) because mirroring these folders will help preserve any references where one Data Management Studio job references another.

  1. Select the folder to import the items to and click Import to begin importing the selected jobs to the Data Management Server.


Import from Repository: Select Import Folder

  1. Once the import has completed successfully, select Close.

The jobs are now uploaded to the Batch Jobs folder on the Data Management Server.

Running Batch Jobs

Before running any batch jobs, check to see if the jobs use variables. If you have macro variables that are read from a configuration file, inform your server administrator so that the appropriate additions can be made to the macros configuration file on the Data Management Server. To run a batch job,

  1. Select the Data Management Server that contains the batch jobs. If you are prompted, log on to the server by entering your user ID and password, and then click Log On.
  2. Expand the Data Management Server jobs list and expand the Batch Jobs folder.
  3. In the information pane under the Batch Jobs tab, select the job name and then click Run. The Run Job dialog box opens where you can insert job variables.
  4. In the Run Job dialog box, click New Variable if the job is set up to use variables. Setting input variables is an optional step.


Run Batch Job: Insert New Variable

  1. Select Run. Notice that the Running Count column is updated.


Batch Jobs Run History

  1. Check the Run History tab for the job status and check the log when the job is finished running.

Running Profile Jobs

To run a profile job, complete the following steps:

  1. Select the name of the Data Management Server that contains the profile jobs you wish to run. If you are prompted, log on to the server by entering your user ID and password, and then click Log On.
  2. Expand the Profile Jobs folder and select the folder containing the jobs you want to run. The jobs are listed under the Profile tab in the information pane to the right.
  3. Select the job name, and then click Run.


Run Profile Jobs

  1. In the Run Process dialog box, enter a description for the job and click Macro Variables to provide one or more variables for the job.
  2. Note Note: The first time you run a profile, a report is created. Use the Append to existing report option to continue writing to the existing report. To replace the existing report and start a new one, clear the Append to existing report option.


Run Process Dialog Box

  1. In the Profile Macro Variables dialog box, click New Macro Variable New Macro Variable button and specify a value for the variable. Click OK. Setting input variables is an optional step and variables must be declared on the job.
  2. In the Run Process dialog box, click OK.
  3. Select the Run History tab for the job status.


Run History Toolbar

  1. Using the toolbar in Run History you can also view the job log, delete files or stop a process if a job is still running.

Related Topics