<?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: Parameters from scl to SAS macro in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Parameters-from-scl-to-SAS-macro/m-p/208848#M38799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was very long time age i used SCL. Why are you using it?&lt;/P&gt;&lt;P&gt;I assume that you are using your macro call in a submit block.&lt;/P&gt;&lt;P&gt;I can be mistaken, but I think you can't refer to a list in a submit block. You need to resolve it to something that the macro understands, and that are plain text parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2015 13:00:44 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2015-05-04T13:00:44Z</dc:date>
    <item>
      <title>Parameters from scl to SAS macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Parameters-from-scl-to-SAS-macro/m-p/208847#M38798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a problem when I want to pass some chosen elements from scl to a sas macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my macro.&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; %macro test(number=, text=);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;%mend test&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I call that from my scl code, this works :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;%test(number=2, text='Hello');&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;but this does not work :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;%test(number=list_num.selecteditem, text=list_text.selecteditem);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read something that variables have to be known before the compilation but I thought that macro solved that problem. Have I done something wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 12:35:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Parameters-from-scl-to-SAS-macro/m-p/208847#M38798</guid>
      <dc:creator>problems99</dc:creator>
      <dc:date>2015-05-04T12:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters from scl to SAS macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Parameters-from-scl-to-SAS-macro/m-p/208848#M38799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was very long time age i used SCL. Why are you using it?&lt;/P&gt;&lt;P&gt;I assume that you are using your macro call in a submit block.&lt;/P&gt;&lt;P&gt;I can be mistaken, but I think you can't refer to a list in a submit block. You need to resolve it to something that the macro understands, and that are plain text parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 13:00:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Parameters-from-scl-to-SAS-macro/m-p/208848#M38799</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-05-04T13:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters from scl to SAS macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Parameters-from-scl-to-SAS-macro/m-p/208849#M38800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to merge two applications: one in scl with frames and one in sas without gui. Both use the same database. I added a frame in the scl application requesting for parameters needed by the sas application. I transformed the sas application in a macro program and I call that from my new scl frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I use a submit block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what can I do ? Write parameters in a file in scl and read them in sas (if it is possible ?) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 13:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Parameters-from-scl-to-SAS-macro/m-p/208849#M38800</guid>
      <dc:creator>problems99</dc:creator>
      <dc:date>2015-05-04T13:25:38Z</dc:date>
    </item>
  </channel>
</rss>

