<?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 JDBC Database Returns plenty of blanks as comment/label in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769386#M1284</link>
    <description>&lt;P&gt;It would likely be helpful to include the LOG from running the code reading the data source. Copy the text of the code and all messages from the code generating the data set from the LOG and paste the text into a text box opened on the forum with the &amp;lt;/&amp;gt; icon appearing above the message window on the forum.&lt;/P&gt;
&lt;P&gt;The text box is important as it will preserve the formatting of the text which often includes diagnostic information that gets reformatted when pasting into a code box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are going to post pictures you need to explain why each image is posted and what we should be looking for and likely what program you are using to examine this. How are you "opening the table"? Also which SAS environment are you working in? On Demand, Enterprise Guide, or something else.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Sep 2021 16:45:47 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-09-22T16:45:47Z</dc:date>
    <item>
      <title>SAS JDBC Database Returns plenty of blanks as comment/label</title>
      <link>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769072#M1283</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;We try to use the JDBC Driver to view tables in a database viewer from Jetbrains (Data Grip, Pycharm, Intellij).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Driver:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://support.sas.com/en/software/jdbc-drivers-support.html" target="_blank" rel="noopener noreferrer"&gt;SAS Drivers for JDBC | SAS Support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Situation&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;We connected a SAS Dataservice with PyCharm (and other IDEs Intellij, DataGrip from Jetbrains) succesfully.&lt;/LI&gt;&lt;LI&gt;All tables and column information in the database tool tab looks fine….&lt;/LI&gt;&lt;LI&gt;But, if we open a table, the column name on all culomns is "&amp;lt;anonymous&amp;gt;"&lt;/LI&gt;&lt;LI&gt;Only Columns with a given comment/label will show the comment text.&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Checking the DDL we found out, that each column without a comment has a &lt;STRONG&gt;plenty of blanks&lt;/STRONG&gt; as a comment&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":sad_but_relieved_face:"&gt;😥&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Anyone have seen this behaviour? Ideas to fix it?&lt;/P&gt;&lt;P&gt;We realy not want to copy the column name in all columns mandatory.&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-16 14_40_20-test__st_05 – CARS.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63853i139E4D29F6F47F61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2021-09-16 14_40_20-test__st_05 – CARS.png" alt="2021-09-16 14_40_20-test__st_05 – CARS.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Column defintions of sashelp.cars &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-16 14_40_03-test__st_05 – CARS.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63847i96A3A478CACB78E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2021-09-16 14_40_03-test__st_05 – CARS.png" alt="2021-09-16 14_40_03-test__st_05 – CARS.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Table View with column names shows as "anonymous"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-17 09_08_28-Modify Table.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63849i87F39A4A415E22CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2021-09-17 09_08_28-Modify Table.png" alt="2021-09-17 09_08_28-Modify Table.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Responding Metadata vom SAS JDBC, see the many blanks as comment (sas called 'label')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-16 14_41_42-test__st_05 – CARS.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63974iB4A3720F4EDC1E9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2021-09-16 14_41_42-test__st_05 – CARS.png" alt="2021-09-16 14_41_42-test__st_05 – CARS.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;DDL Created based on responding Metadata&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Parallel Jetbains Issue&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://youtrack.jetbrains.com/issue/DBE-14103" target="_blank" rel="noopener"&gt;Database Table Colum Name "&amp;lt;anonymous&amp;gt;" instead Colum Name : DBE-14103 (jetbrains.com)&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 07:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769072#M1283</guid>
      <dc:creator>SebStu</dc:creator>
      <dc:date>2021-09-23T07:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS JDBC Database Returns plenty of blanks as comment/label</title>
      <link>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769386#M1284</link>
      <description>&lt;P&gt;It would likely be helpful to include the LOG from running the code reading the data source. Copy the text of the code and all messages from the code generating the data set from the LOG and paste the text into a text box opened on the forum with the &amp;lt;/&amp;gt; icon appearing above the message window on the forum.&lt;/P&gt;
&lt;P&gt;The text box is important as it will preserve the formatting of the text which often includes diagnostic information that gets reformatted when pasting into a code box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are going to post pictures you need to explain why each image is posted and what we should be looking for and likely what program you are using to examine this. How are you "opening the table"? Also which SAS environment are you working in? On Demand, Enterprise Guide, or something else.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 16:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769386#M1284</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-09-22T16:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS JDBC Database Returns plenty of blanks as comment/label</title>
      <link>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769591#M1285</link>
      <description>&lt;P&gt;No idea what a "comment" is.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it is perfectly normal to not attach a LABEL to a variable.&amp;nbsp; For example that last photographs looks like it might be the SASHELP.CARS sample dataset that ships with SAS.&amp;nbsp; Only some the variables have labels or formats attached to them.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 492px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63910i0A4F7112D20BE075/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What most SAS procedures that use the LABEL in the output instead of the NAME will do is use the NAME when the LABEL is empty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As to the blanks remember that SAS has only two types of variables. Fixed length character strings and floating point numbers.&amp;nbsp; It appears that whatever is populating the "comment" is taking the value of the LABEL field and including the trailing blanks that are included to pad it out to its full storage length.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 17:13:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769591#M1285</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-09-22T17:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS JDBC Database Returns plenty of blanks as comment/label</title>
      <link>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769800#M1286</link>
      <description>&lt;P&gt;Hi! I am using the linked &lt;STRONG&gt;SAS JDBC driver&lt;/STRONG&gt; in PyCharm, so there is no SAS Log.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 07:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769800#M1286</guid>
      <dc:creator>SebStu</dc:creator>
      <dc:date>2021-09-23T07:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS JDBC Database Returns plenty of blanks as comment/label</title>
      <link>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769801#M1287</link>
      <description>&lt;P&gt;Many true words, but:&lt;/P&gt;&lt;P&gt;Issue descripes responding data with SAS JDBC driver&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 07:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/769801#M1287</guid>
      <dc:creator>SebStu</dc:creator>
      <dc:date>2021-09-23T07:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS JDBC Database Returns plenty of blanks as comment/label</title>
      <link>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/770576#M1294</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/285725"&gt;@Kitara&lt;/a&gt;&amp;nbsp;@kitara may you can help me? Are you using SAS JDBC on intellij?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 07:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-JDBC-Database-Returns-plenty-of-blanks-as-comment-label/m-p/770576#M1294</guid>
      <dc:creator>SebStu</dc:creator>
      <dc:date>2021-09-27T07:05:23Z</dc:date>
    </item>
  </channel>
</rss>

