<?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 Initiating a SAS program run from within UltraEdit in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Initiating-a-SAS-program-run-from-within-UltraEdit/m-p/748269#M235003</link>
    <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use UltraEdit for the bulk of my coding. Are there any other UltraEdit &amp;amp; SAS users out there who might be able to help with (or benefit from) this?&lt;/P&gt;
&lt;P&gt;I have "heard rumours" that it might be possible to send the program through to SAS from within UltraEdit.&lt;/P&gt;
&lt;P&gt;See, for example, this post from a SAS staffer (a decade old, unfortunately).&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ultraedit.com/support/tutorials-power-tips/ultraedit/sas.html" target="_blank"&gt;https://www.ultraedit.com/support/tutorials-power-tips/ultraedit/sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I also see some attempts in the SAS forums, but none with satisfactory solutions:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Ultraedit-to-run-SAS-programs/m-p/281497" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Ultraedit-to-run-SAS-programs/m-p/281497&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-setup-notepad-or-ultra-edit-to-run-the-SAS-codes/m-p/707481" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-setup-notepad-or-ultra-edit-to-run-the-SAS-codes/m-p/707481&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried getting that original tutorial to work, but keep running into problems. The first was spaces in the file path, which I partly resolved, but not completely.&lt;/P&gt;
&lt;P&gt;I also tried posting on the UltraEdit forums, but so far with no success.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ultraedit.com/viewtopic.php?p=65115" target="_blank"&gt;http://forums.ultraedit.com/viewtopic.php?p=65115&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The important part of the *.bat file now looks like this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;%EXESAS% ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-CONFIG %CONFIGSAS% ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-autoexec %AUTOEXECSAS% ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-sysin ('type %1') ^&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; -log ('type %2') –nodms&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It seems as if the *.sas program file is now fed through correctly to SAS, but still not the log file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See the Command window output below:&lt;BR /&gt;C:\Users\...\OneDrive - The University ...\...\Develop Run and Debug your SAS Programs in UltraEdit_files&amp;gt;&lt;BR /&gt;"c:\Program Files\SASHome\SASFoundation\9.4\sas.exe"&amp;nbsp;&amp;nbsp;&lt;BR /&gt;-CONFIG "c:\Program Files\SASHome\SASFoundation\9.4\sasv9.cfg"&amp;nbsp;&amp;nbsp;&lt;BR /&gt;-autoexec "c:\Users\...\OneDrive - The University ...\...\Develop Run and Debug your SAS Programs in UltraEdit_files\autoexec.sas"&amp;nbsp;&amp;nbsp;&lt;BR /&gt;-sysin ('type C:\Users\...\OneDrive" - The University ...\!USyd Projects\Google "Trends\Data_management\Cov\test.sas')&amp;nbsp;&lt;BR /&gt;-log ('type C:\Users\...\OneDrive') ûnodms&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And there is a problem with the nodms option. This is what I get in SAS:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: Unrecognized SAS option name ÛNODMS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: Unable to initialize the SAS kernel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas about how to send through the nodms SAS option?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 07:59:22 GMT</pubDate>
    <dc:creator>JacquesR</dc:creator>
    <dc:date>2021-06-16T07:59:22Z</dc:date>
    <item>
      <title>Initiating a SAS program run from within UltraEdit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Initiating-a-SAS-program-run-from-within-UltraEdit/m-p/748269#M235003</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use UltraEdit for the bulk of my coding. Are there any other UltraEdit &amp;amp; SAS users out there who might be able to help with (or benefit from) this?&lt;/P&gt;
&lt;P&gt;I have "heard rumours" that it might be possible to send the program through to SAS from within UltraEdit.&lt;/P&gt;
&lt;P&gt;See, for example, this post from a SAS staffer (a decade old, unfortunately).&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ultraedit.com/support/tutorials-power-tips/ultraedit/sas.html" target="_blank"&gt;https://www.ultraedit.com/support/tutorials-power-tips/ultraedit/sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I also see some attempts in the SAS forums, but none with satisfactory solutions:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Ultraedit-to-run-SAS-programs/m-p/281497" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Ultraedit-to-run-SAS-programs/m-p/281497&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-setup-notepad-or-ultra-edit-to-run-the-SAS-codes/m-p/707481" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-setup-notepad-or-ultra-edit-to-run-the-SAS-codes/m-p/707481&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried getting that original tutorial to work, but keep running into problems. The first was spaces in the file path, which I partly resolved, but not completely.&lt;/P&gt;
&lt;P&gt;I also tried posting on the UltraEdit forums, but so far with no success.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ultraedit.com/viewtopic.php?p=65115" target="_blank"&gt;http://forums.ultraedit.com/viewtopic.php?p=65115&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The important part of the *.bat file now looks like this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;%EXESAS% ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-CONFIG %CONFIGSAS% ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-autoexec %AUTOEXECSAS% ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-sysin ('type %1') ^&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; -log ('type %2') –nodms&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It seems as if the *.sas program file is now fed through correctly to SAS, but still not the log file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See the Command window output below:&lt;BR /&gt;C:\Users\...\OneDrive - The University ...\...\Develop Run and Debug your SAS Programs in UltraEdit_files&amp;gt;&lt;BR /&gt;"c:\Program Files\SASHome\SASFoundation\9.4\sas.exe"&amp;nbsp;&amp;nbsp;&lt;BR /&gt;-CONFIG "c:\Program Files\SASHome\SASFoundation\9.4\sasv9.cfg"&amp;nbsp;&amp;nbsp;&lt;BR /&gt;-autoexec "c:\Users\...\OneDrive - The University ...\...\Develop Run and Debug your SAS Programs in UltraEdit_files\autoexec.sas"&amp;nbsp;&amp;nbsp;&lt;BR /&gt;-sysin ('type C:\Users\...\OneDrive" - The University ...\!USyd Projects\Google "Trends\Data_management\Cov\test.sas')&amp;nbsp;&lt;BR /&gt;-log ('type C:\Users\...\OneDrive') ûnodms&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And there is a problem with the nodms option. This is what I get in SAS:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: Unrecognized SAS option name ÛNODMS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: Unable to initialize the SAS kernel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas about how to send through the nodms SAS option?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 07:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Initiating-a-SAS-program-run-from-within-UltraEdit/m-p/748269#M235003</guid>
      <dc:creator>JacquesR</dc:creator>
      <dc:date>2021-06-16T07:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Initiating a SAS program run from within UltraEdit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Initiating-a-SAS-program-run-from-within-UltraEdit/m-p/748279#M235009</link>
      <description>&lt;P&gt;From the path, I think your environment is Windows, is that correct?&lt;BR /&gt;If it is Windows, I think nodms was disabled, so try to run it without the option.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;First, check SAS startup by specifying only -config.&lt;BR /&gt;Next, add -sysin to check the operation of batch execution&lt;BR /&gt;Next, add -autoexec and check the operation.&lt;BR /&gt;Next, add -log to check the output log .&lt;BR /&gt;I think it is a shortcut to add and verify options one by one like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 08:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Initiating-a-SAS-program-run-from-within-UltraEdit/m-p/748279#M235009</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2021-06-16T08:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Initiating a SAS program run from within UltraEdit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Initiating-a-SAS-program-run-from-within-UltraEdit/m-p/748280#M235010</link>
      <description>&lt;P&gt;Your hyphen is not a hyphen, but a UTF character that looks like one. Always avoid any kind of word processor when writing code, only use a text editor, and be very careful when copy/pasting code from places where a word processor or some kind of web editor might be involved.&lt;/P&gt;
&lt;P&gt;These are your character, followed by a true hyphen:&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="5"&gt;– -&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;When looking carefully, you see the size difference.&lt;/P&gt;
&lt;P&gt;Or run this code (the "hyphen" was copy/pasted from your code):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
string = "–";
checkstring = put(string,$hex6.);
put string= checkstring=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Jun 2021 08:44:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Initiating-a-SAS-program-run-from-within-UltraEdit/m-p/748280#M235010</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-06-16T08:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Initiating a SAS program run from within UltraEdit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Initiating-a-SAS-program-run-from-within-UltraEdit/m-p/748648#M235132</link>
      <description>&lt;P&gt;We'll be adding this functionality to the SASjs &lt;A href="https://marketplace.visualstudio.com/items?itemName=SASjs.sasjs-for-vscode" target="_self"&gt;VS Code extension&lt;/A&gt; soon.&amp;nbsp; We have Viya support already, SAS 9 (metadata) should be a week or so, and Desktop SAS will be in 3-4 weeks.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 11:30:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Initiating-a-SAS-program-run-from-within-UltraEdit/m-p/748648#M235132</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-06-17T11:30:31Z</dc:date>
    </item>
  </channel>
</rss>

