<?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: SAS is reading but not loading Boolean values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-is-reading-but-not-loading-Boolean-values/m-p/819609#M323527</link>
    <description>&lt;P&gt;What do you mean by "database table"?&amp;nbsp; Do you mean some non SAS database?&amp;nbsp; What database?&amp;nbsp; How did you load the values from the SAS dataset into that external database?&amp;nbsp; Are you using SAS to do the loading?&amp;nbsp; How?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the field is BOOLEAN there is no way to store character strings like Y or N.&amp;nbsp; Just boolean TRUE or FALSE values.&amp;nbsp; It looks like in whatever GUI tool you are using to look at the data they are displaying the boolean value as either a filled or empty box.&amp;nbsp; I assume the TRUE values are being displayed as filled box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps whatever tool you are using to generate the image you posted has an option to display boolean values as Y or N?&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2022 13:18:02 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-06-22T13:18:02Z</dc:date>
    <item>
      <title>SAS is reading but not loading Boolean values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-is-reading-but-not-loading-Boolean-values/m-p/819602#M323524</link>
      <description>&lt;P&gt;Hi Team ,&lt;/P&gt;&lt;P&gt;In the database table I have a column qr_sac which is defined as Boolean while creation.In sas table I have values for this column like 'N','Y','N','N' ...... I am appending sas table to the database table. I am not seeing any errors while appending but the final database table is showing values like screenshot below.Can anyone please help. I am expecting to see same values like SAS 'Y' or 'N'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajal_30_0-1655902120038.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72540iFB0834444C716AD5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kajal_30_0-1655902120038.png" alt="kajal_30_0-1655902120038.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kajal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 12:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-is-reading-but-not-loading-Boolean-values/m-p/819602#M323524</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-06-22T12:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS is reading but not loading Boolean values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-is-reading-but-not-loading-Boolean-values/m-p/819609#M323527</link>
      <description>&lt;P&gt;What do you mean by "database table"?&amp;nbsp; Do you mean some non SAS database?&amp;nbsp; What database?&amp;nbsp; How did you load the values from the SAS dataset into that external database?&amp;nbsp; Are you using SAS to do the loading?&amp;nbsp; How?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the field is BOOLEAN there is no way to store character strings like Y or N.&amp;nbsp; Just boolean TRUE or FALSE values.&amp;nbsp; It looks like in whatever GUI tool you are using to look at the data they are displaying the boolean value as either a filled or empty box.&amp;nbsp; I assume the TRUE values are being displayed as filled box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps whatever tool you are using to generate the image you posted has an option to display boolean values as Y or N?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 13:18:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-is-reading-but-not-loading-Boolean-values/m-p/819609#M323527</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-22T13:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS is reading but not loading Boolean values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-is-reading-but-not-loading-Boolean-values/m-p/819619#M323529</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am loading it to Netezza database. I am using base sas to load it. Yeah I also read the same and now I am creating the database table column type as char so that I can store values 'Y' or 'N' . so changed the type from Boolean to char worked fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kajal&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 13:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-is-reading-but-not-loading-Boolean-values/m-p/819619#M323529</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-06-22T13:46:43Z</dc:date>
    </item>
  </channel>
</rss>

