<?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 I want to transfer DI Studio code to SAS Viya and remove the DI wrapper code in Developers</title>
    <link>https://communities.sas.com/t5/Developers/I-want-to-transfer-DI-Studio-code-to-SAS-Viya-and-remove-the-DI/m-p/976110#M6645</link>
    <description>&lt;P&gt;Hello, Is it possible to prepare a cleaner SAS code from DI studio that will exclude a lot of the autogenerated wrapper code&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;!--  ScriptorStartFragment  --&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;%let etls_startTime = %sysfunc(datetime(),datetime.);&lt;BR /&gt;%let etls_recordsBefore = 0;&lt;BR /&gt;%let etls_recordsAfter = 0;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;!--  ScriptorEndFragment  --&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 01 Oct 2025 10:48:06 GMT</pubDate>
    <dc:creator>Hiandbye</dc:creator>
    <dc:date>2025-10-01T10:48:06Z</dc:date>
    <item>
      <title>I want to transfer DI Studio code to SAS Viya and remove the DI wrapper code</title>
      <link>https://communities.sas.com/t5/Developers/I-want-to-transfer-DI-Studio-code-to-SAS-Viya-and-remove-the-DI/m-p/976110#M6645</link>
      <description>&lt;P&gt;Hello, Is it possible to prepare a cleaner SAS code from DI studio that will exclude a lot of the autogenerated wrapper code&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;!--  ScriptorStartFragment  --&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;%let etls_startTime = %sysfunc(datetime(),datetime.);&lt;BR /&gt;%let etls_recordsBefore = 0;&lt;BR /&gt;%let etls_recordsAfter = 0;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;!--  ScriptorEndFragment  --&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Oct 2025 10:48:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/I-want-to-transfer-DI-Studio-code-to-SAS-Viya-and-remove-the-DI/m-p/976110#M6645</guid>
      <dc:creator>Hiandbye</dc:creator>
      <dc:date>2025-10-01T10:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: I want to transfer DI Studio code to SAS Viya and remove the DI wrapper code</title>
      <link>https://communities.sas.com/t5/Developers/I-want-to-transfer-DI-Studio-code-to-SAS-Viya-and-remove-the-DI/m-p/976112#M6646</link>
      <description>&lt;P&gt;I tried the following but it didn't work:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;prxmatch&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'/^%let\\s+etls_.*;/i'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;strip&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;line&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;then&lt;/SPAN&gt;&lt;SPAN&gt; delete&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Oct 2025 10:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/I-want-to-transfer-DI-Studio-code-to-SAS-Viya-and-remove-the-DI/m-p/976112#M6646</guid>
      <dc:creator>Hiandbye</dc:creator>
      <dc:date>2025-10-01T10:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: I want to transfer DI Studio code to SAS Viya and remove the DI wrapper code</title>
      <link>https://communities.sas.com/t5/Developers/I-want-to-transfer-DI-Studio-code-to-SAS-Viya-and-remove-the-DI/m-p/976130#M6647</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Doing the migration of SAS DI jobs to SAS Viya manually the way you seem to be doing may not be the best option. Using the SAS&amp;nbsp; Content Assessment Tool to help manage the migration may save some time and help identify jobs that will migrate easily and jobs that will present difficulties. Here's a demo of a job migration using the Content Assessment Tool:&amp;nbsp;&lt;A href="https://youtu.be/IIxyUbdmZoM" target="_blank"&gt;https://youtu.be/IIxyUbdmZoM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 11:58:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/I-want-to-transfer-DI-Studio-code-to-SAS-Viya-and-remove-the-DI/m-p/976130#M6647</guid>
      <dc:creator>MrSantos</dc:creator>
      <dc:date>2025-10-01T11:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: I want to transfer DI Studio code to SAS Viya and remove the DI wrapper code</title>
      <link>https://communities.sas.com/t5/Developers/I-want-to-transfer-DI-Studio-code-to-SAS-Viya-and-remove-the-DI/m-p/976417#M6648</link>
      <description>&lt;P&gt;Your RegEx needs some amendment. Below should work.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
	infile datalines4 truncover;
	input line $256.;
	if prxmatch('/^\%let etls_\w+.+;$/i', strip(line)) then delete;
	datalines4;
%let etls_startTime = %sysfunc(datetime(),datetime.);
%let etls_recordsBefore = 0;
%let etls_recordsAfter = 0;
;;;;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/458874"&gt;@MrSantos&lt;/a&gt;&amp;nbsp;already advised, you should use the&amp;nbsp;&lt;SPAN&gt;SAS&amp;nbsp; Content Assessment Tool with it's migration tools.&amp;nbsp;&lt;BR /&gt;What you're doing would only make sense if you wouldn't want to migrate to SAS Studio flows but to simple .sas programs ...but this would only make sense imho if the SAS Viya version you've licensed doesn't allow for the direct migration to SAS Studio Flow.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Oct 2025 08:30:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/I-want-to-transfer-DI-Studio-code-to-SAS-Viya-and-remove-the-DI/m-p/976417#M6648</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2025-10-05T08:30:55Z</dc:date>
    </item>
  </channel>
</rss>

