<?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: Use AF command in Submit block in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225189#M53907</link>
    <description>&lt;P&gt;Yes appreciate your answer, but here I have to use AF command because I'm trying to invoke the scl with debug option on and pass in parameters at the same time, so I have to use the AF command, so I tried to use it inside a submit block&lt;/P&gt;</description>
    <pubDate>Fri, 11 Sep 2015 15:23:24 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2015-09-11T15:23:24Z</dc:date>
    <item>
      <title>Use AF command in Submit block</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225022#M53896</link>
      <description>&lt;P&gt;I'm trying to use AF command in SCL, so I wrap the AF command in a submit block:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;submit continue;&lt;BR /&gt;&lt;SPAN&gt;af c=Sasuser.I_qual_ibd.main.scl&lt;/SPAN&gt;&lt;BR /&gt; endsubmit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I got the following error, anyone can help to tell me what is wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;NOTE: SCL source line.&lt;BR /&gt;5322 af c=Sasuser.I_qual_ibd.main.scl&lt;BR /&gt; --&lt;BR /&gt; 180&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 19:46:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225022#M53896</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2015-09-10T19:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Use AF command in Submit block</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225039#M53899</link>
      <description>&lt;P&gt;Use the DISPLAY function to run an SCL entry from SCL, not by trying to submit an AF command inside a SUBMIT block.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 21:28:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225039#M53899</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-10T21:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use AF command in Submit block</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225189#M53907</link>
      <description>&lt;P&gt;Yes appreciate your answer, but here I have to use AF command because I'm trying to invoke the scl with debug option on and pass in parameters at the same time, so I have to use the AF command, so I tried to use it inside a submit block&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 15:23:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225189#M53907</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2015-09-11T15:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use AF command in Submit block</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225244#M53914</link>
      <description>&lt;P&gt;OK, then you will need to preface the AF command with the DM statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DM 'AF C=.......';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DM statement allows you to execute Display Manager commands in a SAS program aka SUBMIT block.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Sep 2015 01:59:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225244#M53914</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-12T01:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use AF command in Submit block</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225879#M53988</link>
      <description>&lt;P&gt;Fantastic! It works! I spent quite a while and didn't figure it out. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 16:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225879#M53988</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2015-09-16T16:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use AF command in Submit block</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225884#M53991</link>
      <description>&lt;P&gt;You might also want to use the &lt;A href="http://support.sas.com/documentation/cdl/en/afproc/66773/HTML/default/viewer.htm#n0suac7emt839ln1ij3htpxkqpho.htm" target="_blank"&gt;AFA&lt;/A&gt;&amp;nbsp;command instead of the AF command if you want the new application to run independently.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 16:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-AF-command-in-Submit-block/m-p/225884#M53991</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-09-16T16:36:10Z</dc:date>
    </item>
  </channel>
</rss>

