Architecting, installing and maintaining your SAS environment

Copying existing job flows from one SAS MC to another SAS MC

Accepted Solution Solved
Reply
Contributor
Posts: 33
Accepted Solution

Copying existing job flows from one SAS MC to another SAS MC

Hi,

 

Is there any way to copy/migrate (using Meta data files) the existing job flows from one SAS Management Console to another SAS MC (both are of same version)?

Issue: For example, Company-1 is taken ove the company-2. Now whatever the job flows (almost more than 100) existing in SAS MC 9.4 (which are actually running on IBM Process flow manager) of Company-2 need to be redeployed/recreated/scheduled into SAS MC 9.4 of Company-1. And the .sas codes and sas Datamarts are already migrated to Company-1's servers. Assume both sides have same OS i.e Unix/Linux servers and same IBM Process Flow manager.

 

To do this, I started deploying the codes and creating the flows and then scheduling them on to Company-1's SAS MC. But it is taking more time for this work.

Is there any way to copy the flows directly onto another SAS MC like using Meta data files or running any script?

 

Thank You

 

Best Regards

RaviSPR

 


Accepted Solutions
Solution
‎11-21-2016 06:56 AM
Frequent Contributor
Posts: 96

Re: Copying existing job flows from one SAS MC to another SAS MC

Hi @RaviSPR;

 

You can do this using Export/Import SAS Package in SMC,

Here is the example for your reference:

http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#p1k1twndkw9je7n1sq3y...

 

View solution in original post


All Replies
Super User
Posts: 5,441

Re: Copying existing job flows from one SAS MC to another SAS MC

Yes, by export/import metadata.
Data never sleeps
Trusted Advisor
Posts: 1,326

Re: Copying existing job flows from one SAS MC to another SAS MC

Indeed, the way to go is to do a metadata export package (spk), import the jobs, redeploy the jobs, and schedule them.

For the task of scheduling, if you have custom calendars, you can either re-create them on the Calendar Editor of IBM, or you can just copy the xml files and changing the user on xmls (if needed).

Contributor
Posts: 33

Re: Copying existing job flows from one SAS MC to another SAS MC

Posted in reply to JuanS_OCS

Thank You . Yes we do have Custom calender.

 

Regards,

RaviSPR

 

Solution
‎11-21-2016 06:56 AM
Frequent Contributor
Posts: 96

Re: Copying existing job flows from one SAS MC to another SAS MC

Hi @RaviSPR;

 

You can do this using Export/Import SAS Package in SMC,

Here is the example for your reference:

http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#p1k1twndkw9je7n1sq3y...

 

Contributor
Posts: 33

Re: Copying existing job flows from one SAS MC to another SAS MC

Posted in reply to Kalind_Patel
Thank You Kalind Patel..
Now i can able to copy the jobs.
Thanks a Lot..
RaviSPR
Contributor
Posts: 33

Re: Copying existing job flows from one SAS MC to another SAS MC

Posted in reply to Kalind_Patel

Hi Patel,

 

A small issue has arised after copying the job flow.

 

I have just gone thorugh your link and done importing spk file. And while importing (

Step 2: Import the SPK File) as per 6-b to d steps

i have deselected below 2 check boxes.

Include access controls

Preserve source path information for objects in the package

And selected - New objectes only. - Because i have already these codes deployed in the new SAS MC.

 

But after everything is done, when i see properties on main job flow i am getting Responisbilities as - sasprod (1st screenshot in the attached file) where as properties on the codes i am getting Responsibilities as - m0xxxx (2nd screenshot in the attached file).

Here i tried to add NEW responisbilites on job level's properties but after clicking OK and if i reopen the properties it is showing agian sasprod only.

 

Please see the attachement for your reference.

 

Can you please help me how to get the m0xxxx on Job flow level as well??

 

Thanks a lot.

RaviSPR

 

Frequent Contributor
Posts: 96

Re: Copying existing job flows from one SAS MC to another SAS MC

Hi @RaviSPR

 

I request you to start a new topic for this,

 

so that other users can also give their comments on this,

and it will be good for you to get the quick reply and suggestions from community members.

 

 

Contributor
Posts: 33

Re: Copying existing job flows from one SAS MC to another SAS MC

Posted in reply to Kalind_Patel

Okay. Thank You Patel.

 

Regards,

RaviSPR

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 8 replies
  • 677 views
  • 3 likes
  • 4 in conversation