<?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: How to present Alpha character in dataset? in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67612#M1609</link>
    <description>Hi Sudhakar,&lt;BR /&gt;
&lt;BR /&gt;
I am not sure what exactly you are expecting in the dataset.If you need to create a&lt;BR /&gt;
new variable with alpha characters then you can use the below code,&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
input name $ age ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
abc 23&lt;BR /&gt;
fgh  6&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data test1;&lt;BR /&gt;
set test;&lt;BR /&gt;
alpha ="A"; &lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
The example above illustrates creating a new character variable named “alpha” which contains the letter “A” for all observations in the dataset. Note that the value must be enclosed either in single or double-quotes, because this is a character variable. (alpha ="A";)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Tue, 24 May 2011 16:30:29 GMT</pubDate>
    <dc:creator>raveena</dc:creator>
    <dc:date>2011-05-24T16:30:29Z</dc:date>
    <item>
      <title>How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67603#M1600</link>
      <description>Hi ,&lt;BR /&gt;
&lt;BR /&gt;
I want to put a Alpha symbol in dataset how to present , i tried using the Byte(224) , but i am not getting the alpha symbol. &lt;BR /&gt;
&lt;BR /&gt;
How to store the alpha symbol in character variable?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Sudhakar</description>
      <pubDate>Thu, 19 May 2011 15:11:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67603#M1600</guid>
      <dc:creator>Sudhakar_A</dc:creator>
      <dc:date>2011-05-19T15:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67604#M1601</link>
      <description>Hello Sudhakar_A,&lt;BR /&gt;
&lt;BR /&gt;
What are you trying to accomplish? I used BYTE(224) and got the following result:&lt;BR /&gt;
[pre]&lt;BR /&gt;
data a;&lt;BR /&gt;
  x=BYTE(224);&lt;BR /&gt;
  y=BYTE(65);&lt;BR /&gt;
  put x= y=;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
In the LOG:&lt;BR /&gt;
[pre]&lt;BR /&gt;
x=à y=A&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Is this what you need?&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
      <pubDate>Fri, 20 May 2011 14:08:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67604#M1601</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-05-20T14:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67605#M1602</link>
      <description>Hi SPR,&lt;BR /&gt;
&lt;BR /&gt;
I want alpha symbol should be presented as it is in the dataset.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Sudhakar</description>
      <pubDate>Fri, 20 May 2011 15:43:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67605#M1602</guid>
      <dc:creator>Sudhakar_A</dc:creator>
      <dc:date>2011-05-20T15:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67606#M1603</link>
      <description>The following program outputs all available letters, digits ans symbols:&lt;BR /&gt;
[pre]&lt;BR /&gt;
data a;&lt;BR /&gt;
  do i=0 to 255;&lt;BR /&gt;
    s=BYTE(i);&lt;BR /&gt;
    output;&lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
I ran it om my computer. the output does not contain the alpha character. Your result could be different because characters 127-255 depend on character set used.&lt;BR /&gt;
SPR</description>
      <pubDate>Fri, 20 May 2011 16:25:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67606#M1603</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-05-20T16:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67607#M1604</link>
      <description>Hi SPR, &lt;BR /&gt;
&lt;BR /&gt;
Forgot about my way of approach, can please you tell me how to bring the alpha symbol in the dataset?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Sudhakar</description>
      <pubDate>Fri, 20 May 2011 17:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67607#M1604</guid>
      <dc:creator>Sudhakar_A</dc:creator>
      <dc:date>2011-05-20T17:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67608#M1605</link>
      <description>How are you going to use a variable contaning greek letters? May be you need them only for titles, axis , etc? For example, for Title you can use the following code:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods escapechar="^";&lt;BR /&gt;
title "Greek letter ^{unicode 03B1}";&lt;BR /&gt;
data a;&lt;BR /&gt;
  a=1;&lt;BR /&gt;
run;&lt;BR /&gt;
proc print data=a;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
that prints greek alpha in the title;&lt;BR /&gt;
SPR</description>
      <pubDate>Fri, 20 May 2011 18:45:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67608#M1605</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-05-20T18:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67609#M1606</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I dont want to print but to store the symbol in the dataset.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Sudhakar</description>
      <pubDate>Sat, 21 May 2011 03:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67609#M1606</guid>
      <dc:creator>Sudhakar_A</dc:creator>
      <dc:date>2011-05-21T03:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67610#M1607</link>
      <description>Hi Sudhakar,&lt;BR /&gt;
&lt;BR /&gt;
Can you please provide us an example how your dataset needs to generate?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Mon, 23 May 2011 19:06:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67610#M1607</guid>
      <dc:creator>raveena</dc:creator>
      <dc:date>2011-05-23T19:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67611#M1608</link>
      <description>Hi Raveena, &lt;BR /&gt;
&lt;BR /&gt;
Any way is ok, Datalines, infile, or import, anything is ok  for me, but i want the alpha character in the dataset, and i want to submit the dataset with alpha symbol to client.&lt;BR /&gt;
&lt;BR /&gt;
I want to create a text variable in the dataset with alpha character&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Sudhakar

Message was edited by: Sudhakar_A</description>
      <pubDate>Tue, 24 May 2011 02:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67611#M1608</guid>
      <dc:creator>Sudhakar_A</dc:creator>
      <dc:date>2011-05-24T02:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67612#M1609</link>
      <description>Hi Sudhakar,&lt;BR /&gt;
&lt;BR /&gt;
I am not sure what exactly you are expecting in the dataset.If you need to create a&lt;BR /&gt;
new variable with alpha characters then you can use the below code,&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
input name $ age ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
abc 23&lt;BR /&gt;
fgh  6&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data test1;&lt;BR /&gt;
set test;&lt;BR /&gt;
alpha ="A"; &lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
The example above illustrates creating a new character variable named “alpha” which contains the letter “A” for all observations in the dataset. Note that the value must be enclosed either in single or double-quotes, because this is a character variable. (alpha ="A";)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Tue, 24 May 2011 16:30:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67612#M1609</guid>
      <dc:creator>raveena</dc:creator>
      <dc:date>2011-05-24T16:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67613#M1610</link>
      <description>Hi Raveena,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for that. I dont want a variable name as alpha in the dataset but, i want a variable which holds the greek alpha character symbol as a value in the observation.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Sudhakar</description>
      <pubDate>Wed, 25 May 2011 11:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67613#M1610</guid>
      <dc:creator>Sudhakar_A</dc:creator>
      <dc:date>2011-05-25T11:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to present Alpha character in dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67614#M1611</link>
      <description>It is possible to use UTF-16 encoding and the hexadecimal code ( var='03b1'x; ) but there is no way to ensure that it will appear correctly for someone else.  I would suggest contacting tech support to see if they have a solution.</description>
      <pubDate>Wed, 25 May 2011 14:36:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-present-Alpha-character-in-dataset/m-p/67614#M1611</guid>
      <dc:creator>RickM</dc:creator>
      <dc:date>2011-05-25T14:36:59Z</dc:date>
    </item>
  </channel>
</rss>

