Redeploying Jobs to Stored Processes

Problem

After a job has been deployed as a stored process, either the job or the computing environment changes. For example, additional transformations might be added to the process flow for the job, or the job might be exported to another environment where the servers and libraries are different.

Solution

You can select a job for which a stored process has been generated, regenerate code for the job, and update any stored processes associated with the selected job. See Redeploy a Selected Job with a Stored Process.
Alternatively, you can use the Redeploy Jobs to Stored Processes feature to regenerate the code for most jobs with stored processes and update any stored processes associated with these jobs. Each redeployed stored process then matches the current version of the corresponding job. See Redeploy Most Jobs with Stored Processes.

Tasks

Redeploy a Selected Job with a Stored Process

Perform the following steps to select a job for which a stored process has been generated, regenerate code for the job, and update any stored processes associated with the selected job:
  1. Open the Jobs folder in the Inventory tree.
  2. Right-click the job metadata for a stored process.
  3. Select Stored Processthen select<job_name>then selectRedeploy from the pop-up menu to access Redeploy Jobs to Stored Processes window.
  4. Click Yes.

Redeploy Most Jobs with Stored Processes

Perform the following steps to regenerate the code for most jobs with stored processes and update any stored processes associated with these jobs.
Note: The Redeploy Jobs to Stored Processes feature does not redeploy a job that has been deployed for execution by a Web service client.
  1. From the SAS Data Integration Studio desktop, select Toolsthen selectRedeploy Jobs to Stored Processes to access the Redeploy Jobs to Stored Processes window.
  2. Click Yes.
For each job that has one or more associated stored processes, the code is regenerated for that job. For each stored process associated with a job, the generated code is written to the file associated with the stored process. The regenerated code contains references to servers and libraries that are appropriate for the current SAS Metadata Server.