<?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: vba go to in sas in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/vba-go-to-in-sas/m-p/577702#M163725</link>
    <description>&lt;P&gt;Since 9.4M5 we can use %if in open code (outside a macro):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let flag=0;

%if &amp;amp;flag %then %do;

proc print data=sashelp.class;
run;

%end;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Jul 2019 12:40:38 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-07-30T12:40:38Z</dc:date>
    <item>
      <title>vba go to in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/vba-go-to-in-sas/m-p/577699#M163723</link>
      <description>&lt;P&gt;I am writing an automated SAS process where&amp;nbsp;&lt;/P&gt;&lt;P&gt;It checks teradata first and if the data is available in the table then only run the code in program otherwise it jump on a given location like in VBA.&lt;/P&gt;&lt;PRE&gt;if &amp;lt;condition&amp;gt;=true then do:

process:

else goto gg:



statement,,,

statement,,,

statement,,,

statement,,,statement,,,



gg:

code resume from here



&lt;/PRE&gt;&lt;P&gt;do we have same thing in SAS...&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 12:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/vba-go-to-in-sas/m-p/577699#M163723</guid>
      <dc:creator>Srigyan</dc:creator>
      <dc:date>2019-07-30T12:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: vba go to in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/vba-go-to-in-sas/m-p/577702#M163725</link>
      <description>&lt;P&gt;Since 9.4M5 we can use %if in open code (outside a macro):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let flag=0;

%if &amp;amp;flag %then %do;

proc print data=sashelp.class;
run;

%end;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jul 2019 12:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/vba-go-to-in-sas/m-p/577702#M163725</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-30T12:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: vba go to in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/vba-go-to-in-sas/m-p/577713#M163733</link>
      <description>&lt;P&gt;My&amp;nbsp;Current version: 9.04.01M3P062415.&lt;/P&gt;&lt;P&gt;Will it work here or do we have any other alternative&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 13:21:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/vba-go-to-in-sas/m-p/577713#M163733</guid>
      <dc:creator>Srigyan</dc:creator>
      <dc:date>2019-07-30T13:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: vba go to in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/vba-go-to-in-sas/m-p/577718#M163737</link>
      <description>&lt;P&gt;If %if %then %do does not work in open code, you need to pack all code you want to run conditionally into a macro, so you can use %if there.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 13:24:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/vba-go-to-in-sas/m-p/577718#M163737</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-30T13:24:35Z</dc:date>
    </item>
  </channel>
</rss>

