<?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 how to scribe my expression in EG ? item numeric to character in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48478#M5346</link>
    <description>I'm French, but i try this in English...&lt;BR /&gt;
my question is very simple for you I'm sure..&lt;BR /&gt;
i use E guide 4, only with the Graphic Editor...(no programming in Sas)&lt;BR /&gt;
I have a Table with a column numeric : idFiche ...format  17.(numeric ok)&lt;BR /&gt;
i create a calculate column...idFicheCar with the tools by &lt;MODIFY&gt;&lt;BR /&gt;
i want a data character of 17 characters,&lt;BR /&gt;
 and i write this, in the Panel &lt;ADVANCED expression...=""&gt;&lt;BR /&gt;
PUTC(TableName.idFiche ,$17.)&lt;BR /&gt;
but the validation done a error (in French)...&lt;BR /&gt;
"la syntaxe de la requête comporte des erreurs..."&lt;BR /&gt;
&lt;BR /&gt;
Why the expression is False ? I follow the spécification...I think&lt;BR /&gt;
did i made a mistake of basic comprehension ?&lt;BR /&gt;
&lt;BR /&gt;
merci à vous !&lt;/ADVANCED&gt;&lt;/MODIFY&gt;</description>
    <pubDate>Fri, 19 Sep 2008 11:02:31 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-09-19T11:02:31Z</dc:date>
    <item>
      <title>how to scribe my expression in EG ? item numeric to character</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48478#M5346</link>
      <description>I'm French, but i try this in English...&lt;BR /&gt;
my question is very simple for you I'm sure..&lt;BR /&gt;
i use E guide 4, only with the Graphic Editor...(no programming in Sas)&lt;BR /&gt;
I have a Table with a column numeric : idFiche ...format  17.(numeric ok)&lt;BR /&gt;
i create a calculate column...idFicheCar with the tools by &lt;MODIFY&gt;&lt;BR /&gt;
i want a data character of 17 characters,&lt;BR /&gt;
 and i write this, in the Panel &lt;ADVANCED expression...=""&gt;&lt;BR /&gt;
PUTC(TableName.idFiche ,$17.)&lt;BR /&gt;
but the validation done a error (in French)...&lt;BR /&gt;
"la syntaxe de la requête comporte des erreurs..."&lt;BR /&gt;
&lt;BR /&gt;
Why the expression is False ? I follow the spécification...I think&lt;BR /&gt;
did i made a mistake of basic comprehension ?&lt;BR /&gt;
&lt;BR /&gt;
merci à vous !&lt;/ADVANCED&gt;&lt;/MODIFY&gt;</description>
      <pubDate>Fri, 19 Sep 2008 11:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48478#M5346</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-19T11:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to scribe my expression in EG ? item numeric to character</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48479#M5347</link>
      <description>Try the code example below using the PUT function for a DATA step.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
11   data _null_;&lt;BR /&gt;
12   retain idfiche 2222.2222;&lt;BR /&gt;
13   idfichec = put(idfiche,17.);&lt;BR /&gt;
14   putlog _all_;&lt;BR /&gt;
15   run;&lt;BR /&gt;
&lt;BR /&gt;
idfiche=2222.2222 idfichec=2222 _ERROR_=0 _N_=1&lt;BR /&gt;
NOTE: DATA statement used (Total process time):</description>
      <pubDate>Fri, 19 Sep 2008 12:45:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48479#M5347</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-19T12:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to scribe my expression in EG ? item numeric to character</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48480#M5348</link>
      <description>Hi pantalaimon&lt;BR /&gt;
For me as a coder this was a learning experience.&lt;BR /&gt;
What you have to do is replace your expression with: &lt;BR /&gt;
PUT(TableName.idFiche ,17.)&lt;BR /&gt;
&lt;BR /&gt;
The result of a PUT statement is always character - but you have to use a numeric format for numeric variables. Formats with a '$' are always for character variables.&lt;BR /&gt;
&lt;BR /&gt;
Bonne chance&lt;BR /&gt;
Patrick</description>
      <pubDate>Fri, 19 Sep 2008 12:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48480#M5348</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2008-09-19T12:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to scribe my expression in EG ? item numeric to character</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48481#M5349</link>
      <description>Super....Merci beaucoup !! çà marche bien...&lt;BR /&gt;
Thank's</description>
      <pubDate>Fri, 19 Sep 2008 12:53:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48481#M5349</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-19T12:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to scribe my expression in EG ? item numeric to character</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48482#M5350</link>
      <description>Merci...&lt;BR /&gt;
it's easy when explication is good   ;o))&lt;BR /&gt;
&lt;BR /&gt;
Best regards from France (Nice near Monaco !)</description>
      <pubDate>Fri, 19 Sep 2008 12:57:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48482#M5350</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-19T12:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to scribe my expression in EG ? item numeric to character</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48483#M5351</link>
      <description>Sydney n'est pas mal non plus &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
O.K. my French is a bit rusty.</description>
      <pubDate>Fri, 19 Sep 2008 13:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-scribe-my-expression-in-EG-item-numeric-to-character/m-p/48483#M5351</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2008-09-19T13:10:03Z</dc:date>
    </item>
  </channel>
</rss>

