<?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 Mainframe and SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-and-SAS/m-p/69271#M15019</link>
    <description>In order to  allow sas to use blanks and special characters in the variable name without causing errors, the follwoing piece of code is used.&lt;BR /&gt;
%LET VGROUP&amp;amp;I = "&amp;amp;&amp;amp;GROUP&amp;amp;I"N;&lt;BR /&gt;
&lt;BR /&gt;
for instance &amp;amp;&amp;amp;group&amp;amp;I resolves to Cozar 24 FE,  and then in subsequent step Vgroup&amp;amp;1 is transformed to a variable. In PC SAS it throws an error due to spacing issue.This is not the case when SAS is run on Mainframe.&lt;BR /&gt;
If I have to run this on PC sas this is giving me an error.How to resolve this?</description>
    <pubDate>Fri, 04 Feb 2011 19:38:40 GMT</pubDate>
    <dc:creator>SASPhile</dc:creator>
    <dc:date>2011-02-04T19:38:40Z</dc:date>
    <item>
      <title>Mainframe and SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-and-SAS/m-p/69271#M15019</link>
      <description>In order to  allow sas to use blanks and special characters in the variable name without causing errors, the follwoing piece of code is used.&lt;BR /&gt;
%LET VGROUP&amp;amp;I = "&amp;amp;&amp;amp;GROUP&amp;amp;I"N;&lt;BR /&gt;
&lt;BR /&gt;
for instance &amp;amp;&amp;amp;group&amp;amp;I resolves to Cozar 24 FE,  and then in subsequent step Vgroup&amp;amp;1 is transformed to a variable. In PC SAS it throws an error due to spacing issue.This is not the case when SAS is run on Mainframe.&lt;BR /&gt;
If I have to run this on PC sas this is giving me an error.How to resolve this?</description>
      <pubDate>Fri, 04 Feb 2011 19:38:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-and-SAS/m-p/69271#M15019</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2011-02-04T19:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe and SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-and-SAS/m-p/69272#M15020</link>
      <description>I'd first check the validvarname option setting. You can simply call proc options or submit the following line:&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;P style="padding:0"&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color:#0000FF;font-family:Courier New;font-size:10pt;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;validvarname=&lt;/SPAN&gt;&lt;SPAN style="color:#0000FF;font-family:Courier New;font-size:10pt;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;(getoption(validvarname));&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2011 19:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-and-SAS/m-p/69272#M15020</guid>
      <dc:creator>chang_y_chung_hotmail_com</dc:creator>
      <dc:date>2011-02-04T19:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe and SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-and-SAS/m-p/69273#M15021</link>
      <description>Make sure you're using the VALIDVARNAME=ANY option.&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;BR /&gt;
"Note:   If you use any characters other than the ones that are valid when the VALIDVARNAME system option is set to V7 (letters of the Latin alphabet, numerals, or underscores), then you must express the variable name as a name literal and you must set VALIDVARNAME=ANY."&lt;BR /&gt;
&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
See &lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm" target="_blank"&gt;Rules for SAS Variable Names&lt;/A&gt;.</description>
      <pubDate>Fri, 04 Feb 2011 19:48:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-and-SAS/m-p/69273#M15021</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2011-02-04T19:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe and SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-and-SAS/m-p/69274#M15022</link>
      <description>Hi.&lt;BR /&gt;
In addition to Tim@SAS.&lt;BR /&gt;
&lt;BR /&gt;
options validvarname=any;&lt;BR /&gt;
&lt;BR /&gt;
is only suited for sas/base and sas/stat&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Wed, 23 Feb 2011 05:53:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-and-SAS/m-p/69274#M15022</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-02-23T05:53:09Z</dc:date>
    </item>
  </channel>
</rss>

