<?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: Double Double Quoting on SYSTASK command in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361225#M85158</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16582"&gt;@milts&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release. Inserting white space between a quoted string and the succeeding identifier is recommended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Data is loaded successfully but I get an error due to this problem. Strange that the SAS log says that this is an error when it's a note.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Be very aware that was &lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt; an error is is a NOTE.&lt;/P&gt;
&lt;P&gt;Currently SAS uses three constructs with a quote followed by a character that I am aware of currently for&amp;nbsp;date, time and datetime literals such as '01JAN2017'D or "12:15:23"t. The note is warning that at some unspecified time in the future the specific string that you are creating with a&amp;nbsp; value like 'sometext'q might start being interpretted in a different fashion if SAS adds a new data&amp;nbsp;literal or implied function or whatever. So they are suggesting that it might be a good idea to use 'sometext' q instead (with a space before the q)&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2017 14:25:37 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-05-24T14:25:37Z</dc:date>
    <item>
      <title>Double Double Quoting on SYSTASK command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361038#M85101</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is in reference to my previous question which has been resolved to use systask to execute a python script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Quoting-on-SYSTASK-command/m-p/340337#M77770" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Quoting-on-SYSTASK-command/m-p/340337#M77770&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let command = activate &amp;amp;python_env %nrstr(&amp;amp;&amp;amp;) python %nrquote(""%trim(&amp;amp;python_script_path)\load_data.py"") %nrquote(""%trim(&amp;amp;source)"") %nrquote(""%trim(&amp;amp;target)"")  2&amp;gt; %nrquote(""&amp;amp;logfile..log"");

systask command "&amp;amp;command" wait status=taskrc;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While the double double quote is able to successfully execute the python script, I get this note:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release. Inserting white space between a quoted string and the succeeding identifier is recommended.&lt;/P&gt;&lt;P&gt;49: LINE and COLUMN cannot be determined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data is loaded successfully but I get an error due to this problem. Strange that the SAS log says that this is an error when it's a note.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help or enlightenment would be greatly appreciated. Thank you!&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 07:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361038#M85101</guid>
      <dc:creator>milts</dc:creator>
      <dc:date>2017-05-24T07:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Double Double Quoting on SYSTASK command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361076#M85107</link>
      <description>&lt;P&gt;I know this note for a long time and ignored it without any issues.&lt;/P&gt;
&lt;P&gt;Anyway, if you need double-double-quotes, do not insert a blank between them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What kind of error you got? Is there another message?&lt;/P&gt;
&lt;P&gt;A note may result in return-code 4 instead 0.&lt;/P&gt;
&lt;P&gt;That may be resolved as "error" in unix/linux script running.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 08:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361076#M85107</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-05-24T08:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Double Double Quoting on SYSTASK command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361077#M85108</link>
      <description>&lt;P&gt;Not really on topic, but would:&lt;/P&gt;
&lt;PRE&gt;data _null_;
  command=catx(' ',"activate &amp;amp;python_env.",'&amp;amp;&amp;amp;',quote("&amp;amp;python_script_Path.\load_data.py"),quote("&amp;amp;source."),quote("&amp;amp;target."),'2&amp;gt;',quote("&amp;amp;logfile.")); 
  call execute(cat('systask ',command,' wait status=taskrc;'));
run; 
&lt;/PRE&gt;
&lt;P&gt;Not be simpler?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 08:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361077#M85108</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-05-24T08:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Double Double Quoting on SYSTASK command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361132#M85127</link>
      <description>&lt;P&gt;Worth a try, that's the only&amp;nbsp;way to tell: &amp;nbsp;Inside a quoting function, some characters (quotes included) can be preceded by a %. &amp;nbsp;Wherever you have:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;""&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try replacing it with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%"%"&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 10:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361132#M85127</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-05-24T10:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Double Double Quoting on SYSTASK command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361225#M85158</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16582"&gt;@milts&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release. Inserting white space between a quoted string and the succeeding identifier is recommended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Data is loaded successfully but I get an error due to this problem. Strange that the SAS log says that this is an error when it's a note.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Be very aware that was &lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt; an error is is a NOTE.&lt;/P&gt;
&lt;P&gt;Currently SAS uses three constructs with a quote followed by a character that I am aware of currently for&amp;nbsp;date, time and datetime literals such as '01JAN2017'D or "12:15:23"t. The note is warning that at some unspecified time in the future the specific string that you are creating with a&amp;nbsp; value like 'sometext'q might start being interpretted in a different fashion if SAS adds a new data&amp;nbsp;literal or implied function or whatever. So they are suggesting that it might be a good idea to use 'sometext' q instead (with a space before the q)&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 14:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361225#M85158</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-24T14:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Double Double Quoting on SYSTASK command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361240#M85161</link>
      <description>&lt;P&gt;This is all conjecture, but I'd be interested if my suggestion at the end works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe this note came in about the time that&amp;nbsp;name literals (e.g.&amp;nbsp;allowing&amp;nbsp; 'gdp_growth%'n and "gdp_growthpct"n as valid varnames) were introduced.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess this is because SAS wanted to reserve the possibility of adding other types of "quote-literals" to the current set (i.e.&amp;nbsp;'01jan1060'd for dates, '12:00:00't for times, '01jan1960:08:45'dt for datetimes, and 'xxx'n for names).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you try the suggestion in the note, i.e.&amp;nbsp;following the double-double quotes with a blank (possibly only the "closing" double-double quotes need to be followed by a blank).&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 15:03:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361240#M85161</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2017-05-24T15:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Double Double Quoting on SYSTASK command</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361458#M85251</link>
      <description>&lt;P&gt;This partially solved my problem totally not off topic and thanks for the suggestion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround I had to put the resolving command to a batch file and let systask execute it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
	file "&amp;amp;path.\&amp;amp;job..bat";
	length command $ 1000;
	command=&amp;lt;catx portion&amp;gt;; 
	put command;
run; 

/* execute generated batch job script */
systask command "&amp;amp;path.\&amp;amp;job..bat" wait taskname=&amp;amp;taskname status=taskrc;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 02:01:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Double-Double-Quoting-on-SYSTASK-command/m-p/361458#M85251</guid>
      <dc:creator>milts</dc:creator>
      <dc:date>2017-05-25T02:01:44Z</dc:date>
    </item>
  </channel>
</rss>

