BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
psmerill
Obsidian | Level 7

Hi all,

 

Can I synchronize Repository (Engine) of SAS Decision Services from a SAS program instead that from SAS Management Console (Plug-ins Decision Services)?


Thanks,
Paolo

1 ACCEPTED SOLUTION

Accepted Solutions
JamesAnderson
SAS Employee

Hi Paulo,

 

There is no external function available to initiate the repository synchronisation, however there are a couple of workarounds.

 

For RTDM v6.3 or less: the Batch Activator command line utility can be used to deactivate/activate a decision flow. When performing this action, the activator calls the synchronise repository method. So the workaround is to create a dummy campaign in the repository, and then use the Batch Activator to activate/deactivate it, thereby causing a repository synch.

 

For RTDM 6.4 or higher: the batch activator approach above is still valid, but there is also a REST API (Decision Services Administration) which does the same sorts of things as the CLI Batch Activator. So you can program a REST call (instead of a CLI utility) to do the activation instead.

 

Regards

James

View solution in original post

1 REPLY 1
JamesAnderson
SAS Employee

Hi Paulo,

 

There is no external function available to initiate the repository synchronisation, however there are a couple of workarounds.

 

For RTDM v6.3 or less: the Batch Activator command line utility can be used to deactivate/activate a decision flow. When performing this action, the activator calls the synchronise repository method. So the workaround is to create a dummy campaign in the repository, and then use the Batch Activator to activate/deactivate it, thereby causing a repository synch.

 

For RTDM 6.4 or higher: the batch activator approach above is still valid, but there is also a REST API (Decision Services Administration) which does the same sorts of things as the CLI Batch Activator. So you can program a REST call (instead of a CLI utility) to do the activation instead.

 

Regards

James

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1085 views
  • 0 likes
  • 2 in conversation