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

We are on SAS 9.4M4 with a bunch of licenses including among others, DM, DB and MAS... but not Viya or Visual Analytics.

 

For versioning, we notice that DM has some built-in versioning, as well as the BRM macros referenced in the Model Manager Documentation.  But DB has nothing. I know we can version what's on MAS and/or in metadata, (e.g. publish from DB then version what was published) however that would only be the "export" half... recreating the decision itself in Decision Manager remains a question: how to "import" something that has been versioned.

 

Has anyone seen or developed something similar to the BRM macros for use with Decisions built in DB?  Or have other approaches to this?

 

Thanks much!

John

1 ACCEPTED SOLUTION

Accepted Solutions
JohnJPS
Quartz | Level 8

I got some answers on this from SAS:

 

To pull a decision from DB:

1. GET http://{server}:{port}/SASDecisionManager/rest/decisions?name=ReplaceWithYourdecisionName

2. GET http://{server}:{port}/SASDecisionManager/rest/decisions/ReplaceWithDecisionId

(where "decision id" in the second call is pulled from the first call's response)

 

 

To restore a decision to DB (or migrate to a different instance of DB):

1. POST http://{server}:{port}/SASDecisionManager/rest/decisions

(where Content-Type is application/json, and the request body is the .json from step (2) above)

 

Long story short: use the REST API; unfortunately no equivalent to the BRM macros for DB at this time.

View solution in original post

1 REPLY 1
JohnJPS
Quartz | Level 8

I got some answers on this from SAS:

 

To pull a decision from DB:

1. GET http://{server}:{port}/SASDecisionManager/rest/decisions?name=ReplaceWithYourdecisionName

2. GET http://{server}:{port}/SASDecisionManager/rest/decisions/ReplaceWithDecisionId

(where "decision id" in the second call is pulled from the first call's response)

 

 

To restore a decision to DB (or migrate to a different instance of DB):

1. POST http://{server}:{port}/SASDecisionManager/rest/decisions

(where Content-Type is application/json, and the request body is the .json from step (2) above)

 

Long story short: use the REST API; unfortunately no equivalent to the BRM macros for DB at this time.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

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.

Discussion stats
  • 1 reply
  • 1051 views
  • 1 like
  • 1 in conversation