<?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 capture &amp;quot;&amp;amp;&amp;quot; from libname statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866478#M342198</link>
    <description>&lt;P&gt;What is the context - where, when and how do you wish to capture this?&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 08:40:11 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2023-03-27T08:40:11Z</dc:date>
    <item>
      <title>How to capture "&amp;" from libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866476#M342196</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to capture symbol "&amp;amp;" from libname statement form user information along with username. As of now whole username is coming properly, but symbol &amp;amp; is not coming. We have used SAS character functions such as substr, find &amp;amp; scan to capture this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please look into below snippet for more clarity.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devi001_1-1679905781584.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82082i2A214ED51DD57EB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devi001_1-1679905781584.png" alt="devi001_1-1679905781584.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to capture "&amp;amp;" from user= from libname statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 08:35:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866476#M342196</guid>
      <dc:creator>devi001</dc:creator>
      <dc:date>2023-03-27T08:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture "&amp;" from libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866478#M342198</link>
      <description>&lt;P&gt;What is the context - where, when and how do you wish to capture this?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 08:40:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866478#M342198</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-03-27T08:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture "&amp;" from libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866480#M342199</link>
      <description>&lt;P&gt;In SAS dataset, new column&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 08:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866480#M342199</guid>
      <dc:creator>devi001</dc:creator>
      <dc:date>2023-03-27T08:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture "&amp;" from libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866482#M342201</link>
      <description>&lt;P&gt;Please post data as text, not in pictures. We can't copy pictures into the program editor window, but text works perfectly fine &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you already have a dataset containing this information, please post it in a data step with datalines.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 08:54:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866482#M342201</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-27T08:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture "&amp;" from libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866489#M342203</link>
      <description>&lt;P&gt;Apologies. Please find attached snippet of sample dataset. Requirement is in user column "&amp;amp;" should also come.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:36:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866489#M342203</guid>
      <dc:creator>devi001</dc:creator>
      <dc:date>2023-03-27T09:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture "&amp;" from libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866491#M342205</link>
      <description>&lt;P&gt;No snippet attached.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866491#M342205</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-03-27T09:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture "&amp;" from libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866492#M342206</link>
      <description>&lt;P&gt;Don't know if this is bullet proof, and there may be more elegant solutions:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;scan(substr(a,findw(a, 'user', "'=")+4), 1, '=. ')&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Mar 2023 10:00:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866492#M342206</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-03-27T10:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture "&amp;" from libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866497#M342208</link>
      <description>&lt;P&gt;Thank you! It worked well.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 10:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-capture-quot-amp-quot-from-libname-statement/m-p/866497#M342208</guid>
      <dc:creator>devi001</dc:creator>
      <dc:date>2023-03-27T10:46:13Z</dc:date>
    </item>
  </channel>
</rss>

