<?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 Re: How to migrate SAS DI Jobs in SAS VIYA in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548423#M320</link>
    <description>&lt;P&gt;Hi Alexal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like SAS VIYA has its own schedule manager where we schedule jobs.&lt;/P&gt;&lt;P&gt;Also, By using SAS Viya Studio we can schedule program by using snippets functionality.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will work upon on both option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But is their other option in which we import SAS DI Jobs directly&amp;nbsp; as SPK Package ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jignesh Patel&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2019 07:36:28 GMT</pubDate>
    <dc:creator>JIGNESH</dc:creator>
    <dc:date>2019-04-04T07:36:28Z</dc:date>
    <item>
      <title>How to migrate SAS DI Jobs in SAS VIYA</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548173#M315</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using SAS DI and Scheduled all my jobs in SAS Management Console&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am migrating in to SAS VIYA 9.4&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone know how can i migrate SAS DI Scheduler flow in SAS VIYA&lt;/P&gt;&lt;P&gt;Also run all jobs and load data in sas viya.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jignesh Patel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 11:54:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548173#M315</guid>
      <dc:creator>JIGNESH</dc:creator>
      <dc:date>2019-04-03T11:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to migrate SAS DI Jobs in SAS VIYA</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548176#M316</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/229920"&gt;@JIGNESH&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can schedule jobs using &lt;A href="https://go.documentation.sas.com/?cdcId=calcdc&amp;amp;cdcVersion=3.4&amp;amp;docsetId=caljobs&amp;amp;docsetTarget=n038k4q3mc3bdjn1rlpbpkzx9fbb.htm&amp;amp;locale=en" target="_self"&gt;SAS Job Execution&lt;/A&gt;. Here is a &lt;A href="https://proc-a.com/2019/02/how-to-run-sas-studio-5-program-on-a-schedule/" target="_self"&gt;good example&lt;/A&gt; of how to do that.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 12:09:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548176#M316</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-04-03T12:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to migrate SAS DI Jobs in SAS VIYA</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548342#M319</link>
      <description>IMO Viya isn't ready for DI applications, especially if you are migrating a  off of legacy from 9.4.&lt;BR /&gt;DI Studio/Server doesn't exist on Viya. So how do you intend to execute the code? If you are thinking of to use the the deployed .sas code, you need to do a LOT of changes.&lt;BR /&gt;There will be a major data management release for Viya later this year (I hope). In that perspective early next your it should mature to start thinking of migration, since there should be support for importing 9.4 spk's.&lt;BR /&gt;In the mean time, I recommend a parallel life where you could redirect ETL of you data marts/ABT to Viya/CASlibs.</description>
      <pubDate>Wed, 03 Apr 2019 20:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548342#M319</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-04-03T20:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to migrate SAS DI Jobs in SAS VIYA</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548423#M320</link>
      <description>&lt;P&gt;Hi Alexal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like SAS VIYA has its own schedule manager where we schedule jobs.&lt;/P&gt;&lt;P&gt;Also, By using SAS Viya Studio we can schedule program by using snippets functionality.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will work upon on both option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But is their other option in which we import SAS DI Jobs directly&amp;nbsp; as SPK Package ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jignesh Patel&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 07:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548423#M320</guid>
      <dc:creator>JIGNESH</dc:creator>
      <dc:date>2019-04-04T07:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to migrate SAS DI Jobs in SAS VIYA</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548425#M321</link>
      <description>&lt;P&gt;Hi LinusH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply. So till now there will be no bridge directly between in SAS Di&amp;nbsp; and SAS Viya.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I want to run SAS DI codes in SAS Viya then can you tell me which type of major changes require from server / connection side ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jignesh Patel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 08:03:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548425#M321</guid>
      <dc:creator>JIGNESH</dc:creator>
      <dc:date>2019-04-04T08:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to migrate SAS DI Jobs in SAS VIYA</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548635#M322</link>
      <description>&lt;P&gt;I don't think it makes sense to "execute" the code in Viya unless you have severe performance issues as of now.&lt;/P&gt;
&lt;P&gt;But there are transformations available in DI Studio (later versions) that lets you connect to Viya, upload data, and send steps for processing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=etlug&amp;amp;docsetTarget=p0k42wyoble1hkn17mumd71syeej.htm&amp;amp;docsetVersion=4.904&amp;amp;locale=sv" target="_blank"&gt;https://documentation.sas.com/?docsetId=etlug&amp;amp;docsetTarget=p0k42wyoble1hkn17mumd71syeej.htm&amp;amp;docsetVersion=4.904&amp;amp;locale=sv&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using a version older then M5, you'll have to use SAS/CONNECT.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 19:59:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/548635#M322</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-04-04T19:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to migrate SAS DI Jobs in SAS VIYA</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/557892#M346</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/229920"&gt;@JIGNESH&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main thing you need is to configure connect between sas 9.4 and SAS Viya.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Obtain the CA certificate that was used to sign the certificate that the CAS Server is using.&lt;BR /&gt;the trusted.pem file usually&amp;nbsp;located&amp;nbsp;at&amp;nbsp;&lt;CODE class="xisDoc-directoryPath"&gt;/opt/sas/viya/config/etc/SASSecurityCertificateFramework/cacerts&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Copy certificate&amp;nbsp;to SAS94 server into a directory&amp;nbsp;where all users can read&amp;nbsp;the trusted.pem&amp;nbsp;&amp;nbsp;file(chmod&amp;nbsp;755)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;On the&amp;nbsp;SAS94&amp;nbsp;server where WorkspaceServer works, set environment variable CAS_CLIENT_SSL_CA_LIST= to the trust list that the client uses to connect to the server.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Add the same env variable into sasenv_loca file ( /app/sas/94/sashome/SASFoundation/9.4/bin/sasenv_local)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using DI 4.903 and as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp; mentioned it has the special transformation for loading tables into CAS (SAS Viya).&lt;/P&gt;&lt;P&gt;This link helped me a lot&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/CAS-and-SAS-Data-Integration-Studio-4-903-on-SAS-9-4M5/ta-p/422068" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/CAS-and-SAS-Data-Integration-Studio-4-903-on-SAS-9-4M5/ta-p/422068&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; that you will need to create&amp;nbsp;&lt;SPAN style="font-weight: 400;"&gt;authinfo file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, I created the custom script that I am using for loading table into CAS (you can also run it EG)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro mLoadTableToCAS (mvSASLibname=,mvTableName=, mvTableNameInCAS=, mvCasLibname=);
    %macro dummy; %mend dummy;
    /* Create CAS session  */
    cas CASAUTO host="&amp;lt;cas server hostname&amp;gt;" port=5570;
  
    
    LIBNAME CASRDBP CAS  CASLIB=&amp;amp;mvCasLibname  PORT=5570  SERVER="&amp;lt;cas server hostname&amp;gt;" ;

    %let checkExist=%eval(%sysfunc(exist(CASRDBP.&amp;amp;mvTableNameInCAS, DATA)));   
    %if  (&amp;amp;checkExist) %then %do;
        /* Replace target table requested: Drop session table  */
        proc casutil sessref=&amp;amp;_SESSREF_.;
           droptable casdata="&amp;amp;mvTableNameInCAS." incaslib="&amp;amp;mvCasLibname" quiet;
        quit;
        /* Replace target table requested: Drop global table  */
        proc casutil sessref=&amp;amp;_SESSREF_.;
           droptable casdata="&amp;amp;mvTableNameInCAS." incaslib="&amp;amp;mvCasLibname" quiet;
        quit;
   %end;
    /* PROC CASUTIL: LOAD DATA  */
    proc casutil outcaslib="&amp;amp;mvCasLibname" sessref=&amp;amp;_SESSREF_.;
                 load data=&amp;amp;mvSASLibname..&amp;amp;mvTableName casout="&amp;amp;mvTableNameInCAS."
                 promote;
    quit;
    /* Terminate CAS session  */
    cas CASAUTO terminate;
%mend mLoadTableToCAS;
 
libname SASLIB '&amp;lt;path&amp;gt;'; /*Please specify libname statement*/
%let mpSaslib=SASLIB;
%let mpCaslib=Public;/*specify CAS library name where you want to load data. By default Public*/
%let mpTableName=&amp;lt;table_name&amp;gt;;  /*Please specify table name.*/

  %mLoadTableToCAS(
            mvSASLibname=&amp;amp;mpSaslib,
            mvTableName=&amp;amp;mpTableName,
            mvTableNameInCAS=&amp;amp;mpTableName,
            mvCasLibname=&amp;amp;mpCaslib);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 17:20:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-migrate-SAS-DI-Jobs-in-SAS-VIYA/m-p/557892#M346</guid>
      <dc:creator>BeNur</dc:creator>
      <dc:date>2019-05-10T17:20:16Z</dc:date>
    </item>
  </channel>
</rss>

