Hi All,
I am using SAS DI to deploy or to redeploy some of the SAS jobs to perform some of the regular activities. While performing this activity, I faced some of the below questions. Please help in finding the answers.
1. When I right click on some of the SAS DI jobs, why not all the jobs have Deploy or re-deploy options ?
2. I am getting three options when I right click on the SAS DI jobs.
A.Deploy B.Re-Deploy c. Jobname-then redeploy
3. What exactly is the difference b/w Deploy and Re-deploy
Thanks in advance
Hi @VVDR ,
1. I have imported the SAS .spk packages from UAT to SIT( lower environment).
kindly note the way you exported the package in UAT enviromnet,(for example in my environmneet there will be several folders involved.
please take the export option not from individual job but from root folder of that job .
there you select export option and then give the path and then click on next and then select the only jobs that you need to import to SIT and then next and finish.
and to import the changes in SIT,please select import option from root folder(like how you took export package in similar manner) and then next and finish and redeploy the jobs it will work fine
2. To get the UAT changes to be reflected, I have to redeploy the jobs in SIT by right clicking on the DI jobs.
Now, in the folder list, I have both the jobs that is 350_01_Test and 350_01_Test1(as a deployed job of 350_01_Test).
When I am redeploying whole chunk of jobs, I am also including the 350_01_Test1 also). AM I doing the correct way of deploying or re-deploying SAS DI jobs ?
Above issue is happening due to you are importing in wrong path that job 350_01_Test which is completly differnt from UAT.so you are getting 350_01_Test1.
please see the job properties location and try to do the export and import from root not on directly on individual job please
For 3)
Deploy creates a new metadata deployment object, re-deploy uses an existing deployment object.
Re-deploy can be used on the job and the deployment object where deploy can only be used on the job object.
And also, I have this below scenario. Please correct me.
1. I have imported the SAS .spk packages from UAT to SIT( lower environment).
2. To get the UAT changes to be reflected, I have to redeploy the jobs in SIT by right clicking on the DI jobs.
Now, in the folder list, I have both the jobs that is 350_01_Test and 350_01_Test1(as a deployed job of 350_01_Test).
When I am redeploying whole chunk of jobs, I am also including the 350_01_Test1 also). AM I doing the correct way of deploying or re-deploying SAS DI jobs ?
Please suggest.
Best Regards
If you import a job into an environment where a same name job object already exists in the same folder then this object gets overwritten and the metadata id doesn't change.
If there is already a related deployment object for that job then it remains linked to the job. For this reason you can just RE-deploy the job. If you DEploy the job then a new deployment object gets created - same name with a number added.
"Now, in the folder list, I have both the jobs that is 350_01_Test and 350_01_Test1(as a deployed job of 350_01_Test)."
Don't confuse the Job object with the Job Deployment object. They are linked but separate objects.
Hi @VVDR ,
1. I have imported the SAS .spk packages from UAT to SIT( lower environment).
kindly note the way you exported the package in UAT enviromnet,(for example in my environmneet there will be several folders involved.
please take the export option not from individual job but from root folder of that job .
there you select export option and then give the path and then click on next and then select the only jobs that you need to import to SIT and then next and finish.
and to import the changes in SIT,please select import option from root folder(like how you took export package in similar manner) and then next and finish and redeploy the jobs it will work fine
2. To get the UAT changes to be reflected, I have to redeploy the jobs in SIT by right clicking on the DI jobs.
Now, in the folder list, I have both the jobs that is 350_01_Test and 350_01_Test1(as a deployed job of 350_01_Test).
When I am redeploying whole chunk of jobs, I am also including the 350_01_Test1 also). AM I doing the correct way of deploying or re-deploying SAS DI jobs ?
Above issue is happening due to you are importing in wrong path that job 350_01_Test which is completly differnt from UAT.so you are getting 350_01_Test1.
please see the job properties location and try to do the export and import from root not on directly on individual job please
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.