<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to export DI jobs containing deployed BRM rules in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/377814#M11510</link>
    <description>&lt;P&gt;Hi. I have a DI job which contains deployed BRM rule in it. I am trying to migrate this job to another environment having a similar structure. I am exporting this job with the rules associated with it from one environment and importing the same in the new environment. But jobs containing BRM rules are not working while other plain DI jobs are working properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any specific process to export and import jobs with BRM rules?&lt;/P&gt;&lt;P&gt;If yes kindly provide the way.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2017 15:42:01 GMT</pubDate>
    <dc:creator>Bipasha</dc:creator>
    <dc:date>2017-07-20T15:42:01Z</dc:date>
    <item>
      <title>How to export DI jobs containing deployed BRM rules</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/377814#M11510</link>
      <description>&lt;P&gt;Hi. I have a DI job which contains deployed BRM rule in it. I am trying to migrate this job to another environment having a similar structure. I am exporting this job with the rules associated with it from one environment and importing the same in the new environment. But jobs containing BRM rules are not working while other plain DI jobs are working properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any specific process to export and import jobs with BRM rules?&lt;/P&gt;&lt;P&gt;If yes kindly provide the way.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 15:42:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/377814#M11510</guid>
      <dc:creator>Bipasha</dc:creator>
      <dc:date>2017-07-20T15:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to export DI jobs containing deployed BRM rules</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/378288#M11523</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you ensured that the business rules are also available in that second environment? The DI Studio log may give you more information about where the process is failing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ron&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 19:54:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/378288#M11523</guid>
      <dc:creator>RonAgresta</dc:creator>
      <dc:date>2017-07-21T19:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to export DI jobs containing deployed BRM rules</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/378405#M11530</link>
      <description>&lt;P&gt;I am trying to export and import the rules using macros as mentioned&amp;nbsp;in the BRM user guide. I am using the following macros:&lt;/P&gt;&lt;P&gt;%BRM_EXPORT_FOLDER&lt;/P&gt;&lt;P&gt;%BRM_EXPORT_LOOKUP&lt;/P&gt;&lt;P&gt;%BRM_EXPORT_RULE_FLOW&lt;/P&gt;&lt;P&gt;%BRM_EXPORT_RULESET&lt;/P&gt;&lt;P&gt;%BRM_EXPORT_VOCABULARY&lt;/P&gt;&lt;P&gt;%BRM_IMPORT_FOLDER&lt;/P&gt;&lt;P&gt;%BRM_IMPORT_LOOKUP&lt;/P&gt;&lt;P&gt;%BRM_IMPORT_RULE_FLOW&lt;/P&gt;&lt;P&gt;%BRM_IMPORT_RULESET&lt;/P&gt;&lt;P&gt;%BRM_IMPORT_VOCABULARY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two(%BRM_CREATE_TEMP_TERM, %BRM_LOAD_VOCABULARY) more macros mentioned which I am not using for now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can export the components properly, but cannot import it into the new environment. I am using the following codes to import:&lt;/P&gt;&lt;P&gt;%BRM_IMPORT_FOLDER (CSV=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/BRMFOLDER.CSV),REJECT=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/REJECT_FOLDER.CSV));&lt;BR /&gt;%BRM_IMPORT_LOOKUP (CSV=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/BRMLOOKUP.CSV),REJECT=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/REJECT_LOOKUP.CSV));&lt;BR /&gt;%BRM_IMPORT_RULE_FLOW (RULEFLOWS=ALL,CSV=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/BRMRULLFLOW.CSV),REJECT=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/REJECT_RULFLOW.CSV));&lt;BR /&gt;%BRM_IMPORT_RULESET (RULESETS=ALL,CSV=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/BRMRULESET.CSV),REJECT=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/REJECT_RULESET.CSV));&lt;BR /&gt;%BRM_IMPORT_VOCABULARY (VOCAB=ALL,CSV=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/BRVOCABULARY.CSV),REJECT=%STR(/SAS_IRM_DATA_1/PAKAGE/BRM/REJECT_VOCAB.CSV));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this code throws the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Invalid connection options. Lack USER option.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Error in the LIBNAME statement.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Cannot access database.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I am not sure if these errors are for the BRM import process or something wrong in the configuration. I can run simple programs with the same server connection.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Can any body point me where I am going wrong?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2017 11:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/378405#M11530</guid>
      <dc:creator>Bipasha</dc:creator>
      <dc:date>2017-07-22T11:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to export DI jobs containing deployed BRM rules</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/378494#M11533</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138640"&gt;@Bipasha&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;The error pretty clearly indicates that you haven't been successful in migrating your rules yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error is also pretty clear that something with your connetion option isn't working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a chat with your SAS Admin/the person who's done the environment configuration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also: Run your code with option &lt;EM&gt;mprint&lt;/EM&gt;&amp;nbsp;set&amp;nbsp;so you'll get a bit more log information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eventually also use&amp;nbsp;&lt;EM&gt;options sastrace=',,,d' sastraceloc=saslog&amp;nbsp;nostsuffix;&amp;nbsp;&lt;/EM&gt;to get a bit more log info how SAS interacts with the BRM database. Given your current error you're not even there yet as you can't establish a connection.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2017 04:13:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/378494#M11533</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-07-23T04:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to export DI jobs containing deployed BRM rules</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/378540#M11534</link>
      <description>&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;&lt;P&gt;It turns out that the user I was using was not a member of the SAS decision manager group. Once I corrected that other issues were easy to solve.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2017 16:01:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-export-DI-jobs-containing-deployed-BRM-rules/m-p/378540#M11534</guid>
      <dc:creator>Bipasha</dc:creator>
      <dc:date>2017-07-23T16:01:12Z</dc:date>
    </item>
  </channel>
</rss>

