<?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: Defining Libraries one time in a sas file  with multiple pograms. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652027#M195699</link>
    <description>&lt;P&gt;Hello PageMiller, this is what&amp;nbsp; ghosh suggest me in his first reply. would you please tell me where may I find the Autoexec file? Thank you again PageMiller and ghosh, deeply appreciated of both of you my friends.&lt;/P&gt;</description>
    <pubDate>Sat, 30 May 2020 22:44:09 GMT</pubDate>
    <dc:creator>seamoh</dc:creator>
    <dc:date>2020-05-30T22:44:09Z</dc:date>
    <item>
      <title>Defining Libraries one time in a sas file  with multiple pograms.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/651898#M195631</link>
      <description>&lt;P&gt;Hi&amp;nbsp; all of my friends, hope all of you are very well. I have&lt;STRONG&gt;&lt;U&gt; one sas file&lt;/U&gt;&lt;/STRONG&gt; with multiple program and I need the following programs for every of my program written in it.&lt;/P&gt;&lt;PRE&gt;libname Learn '/folders/myfolders/60864_example/Learning';&lt;BR /&gt;libname CharData '/folders/myfolders/Dataset/CharDataset';&lt;/PRE&gt;&lt;PRE&gt;libname Learn '/folders/myfolders/60864_example/Learning';&lt;BR /&gt;libname CharData '/folders/myfolders/Dataset/CharDataset';&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;libname Learn '/folders/myfolders/60864_example/Learning';&lt;BR /&gt;libname CharData '/folders/myfolders/Dataset/CharDataset';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then for each program I have to put these two libraries above the program for example&lt;/P&gt;&lt;P&gt;"libname Learn '/folders/myfolders/60864_example/Learning';"&lt;BR /&gt;"libname CharData '/folders/myfolders/Dataset/CharDataset';"&lt;BR /&gt;"proc print data=Learn.phone obs='5';"&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;I would like to define these two libraries once at the top of the sas file and it would work for all the program written in that file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much, I am looking forward for your descent answers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 00:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/651898#M195631</guid>
      <dc:creator>seamoh</dc:creator>
      <dc:date>2020-05-30T00:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Libraries one time in a sas file  with multiple pograms.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/651902#M195634</link>
      <description>&lt;P&gt;check out this paper&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pauldickman.com/sastips/autocall/" target="_blank"&gt;https://pauldickman.com/sastips/autocall/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 00:45:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/651902#M195634</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-05-30T00:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Libraries one time in a sas file  with multiple pograms.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652011#M195686</link>
      <description>&lt;P&gt;Hi and ghosh, and thank you very much for the reply&lt;/P&gt;&lt;P&gt;what is your idea about this&lt;/P&gt;&lt;P&gt;libname Learn '/folders/myfolders/60864_example/Learning';&lt;BR /&gt;options fmtsearch=(learn);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put these two lines of cose at the first of the sas files and run it once&amp;nbsp; and I think it works for the rest of the programs on the file.&lt;/P&gt;&lt;P&gt;Please tell me your idea ,&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 20:29:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652011#M195686</guid>
      <dc:creator>seamoh</dc:creator>
      <dc:date>2020-05-30T20:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Libraries one time in a sas file  with multiple pograms.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652013#M195688</link>
      <description>&lt;P&gt;You can write your libname as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;libname Learn '~/60864_example/Learning';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This was your code is portable assuming the&amp;nbsp;&lt;SPAN&gt;/60864_example/Learning part of your folder is the same on the other computer&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 20:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652013#M195688</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-05-30T20:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Libraries one time in a sas file  with multiple pograms.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652017#M195691</link>
      <description>&lt;P&gt;Put these LIBNAME statements into your AUTOEXEC file and then you don't even need them at the top of each program you write.&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 21:19:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652017#M195691</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-30T21:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Libraries one time in a sas file  with multiple pograms.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652027#M195699</link>
      <description>&lt;P&gt;Hello PageMiller, this is what&amp;nbsp; ghosh suggest me in his first reply. would you please tell me where may I find the Autoexec file? Thank you again PageMiller and ghosh, deeply appreciated of both of you my friends.&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 22:44:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652027#M195699</guid>
      <dc:creator>seamoh</dc:creator>
      <dc:date>2020-05-30T22:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Libraries one time in a sas file  with multiple pograms.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652029#M195700</link>
      <description>&lt;P&gt;looks like you are using SAS UE.&amp;nbsp; On the top right of the screen there is a menu before the ?&lt;/P&gt;&lt;P&gt;you can edit the autoexec.sas from there&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 451px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40178i37DD2B45D6E218CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 22:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652029#M195700</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-05-30T22:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Libraries one time in a sas file  with multiple pograms.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652030#M195701</link>
      <description>&lt;P&gt;In SAS, run this command&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put %sysfunc(getoption(autoexec));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 May 2020 23:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Defining-Libraries-one-time-in-a-sas-file-with-multiple-pograms/m-p/652030#M195701</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-30T23:02:08Z</dc:date>
    </item>
  </channel>
</rss>

