<?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: update (add rows) to a permanent data set from multiple sas sessions in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/970011#M376987</link>
    <description>&lt;P&gt;If you set FILELOCKWAIT = 20, then it should be more than adequate to cope with your 10 second process time.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jun 2025 22:33:34 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2025-06-30T22:33:34Z</dc:date>
    <item>
      <title>update (add rows) to a permanent data set from multiple sas sessions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969960#M376969</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Is it possible to update (add rows) to a permanent data set from multiple sas sessions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 12:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969960#M376969</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2025-06-30T12:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: update (add rows) to a permanent data set from multiple sas sessions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969962#M376971</link>
      <description>&lt;P&gt;Didn't you already ask that question?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Run-2-sas-sessions-related-to-a-permanent-data-set/td-p/969278/jump-to/first-unread-message" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Run-2-sas-sessions-related-to-a-permanent-data-set/td-p/969278/jump-to/first-unread-message&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 12:13:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969962#M376971</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-06-30T12:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: update (add rows) to a permanent data set from multiple sas sessions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969972#M376972</link>
      <description>No.&lt;BR /&gt;In previous question I asked if possible to use same data set source in different sessions but in each session update another data set that us different between sessions.&lt;BR /&gt;In this question I asked if can update same data set in multiple sessions</description>
      <pubDate>Mon, 30 Jun 2025 13:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969972#M376972</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2025-06-30T13:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: update (add rows) to a permanent data set from multiple sas sessions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969996#M376977</link>
      <description>&lt;P&gt;By&amp;nbsp; "multiple sessions" do you mean concurrently? As in multiple SAS jobs running at the same time, possibly by different users.&amp;nbsp; That is likely to be a bit tricky as you have a possibility of attempting multiple access at same time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If by "multiple sessions" you mean on different days then proc append would work just fine. Unless you have the same problems with changing variable types/names as your other posts.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 17:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969996#M376977</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2025-06-30T17:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: update (add rows) to a permanent data set from multiple sas sessions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969997#M376978</link>
      <description>Thanks&lt;BR /&gt;I mean run same program in same time ( by me or also by others and this program update( add rows) to same permanent  sas data set</description>
      <pubDate>Mon, 30 Jun 2025 17:42:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969997#M376978</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2025-06-30T17:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: update (add rows) to a permanent data set from multiple sas sessions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969999#M376979</link>
      <description>&lt;P&gt;If multiple SAS sessions try to update a SAS dataset at the same time, you will run into the file locking issues discussed in the other thread.&amp;nbsp; It doesn't matter if the the program is the same, or if the two users are the same.&amp;nbsp; When one process begins writing to the file, it will lock the file.&amp;nbsp; If another process tries to write to the file at the same time, it will error because the file is locked.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 17:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/969999#M376979</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2025-06-30T17:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: update (add rows) to a permanent data set from multiple sas sessions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/970001#M376981</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;No.&lt;BR /&gt;In previous question I asked if possible to use same data set source in different sessions but in each session update another data set that us different between sessions.&lt;BR /&gt;In this question I asked if can update same data set in multiple sessions&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well if that is what you meant in the other session then there wasn't really an issue in that scenario.&amp;nbsp; Multiple sessions reading the same file is not an issue.&amp;nbsp; It is only when multiple sessions are trying to write to the same file that you will have conflicts.&amp;nbsp; The answer marked on the other thread is the answer to this thread.&amp;nbsp; That is either use something like an external database (Postgres, Oracle, etc) or SAS/Share that is designed to handle multiple updates.&amp;nbsp; Or try to manage the risk of conflict by keeping the update process fast and setting the lock wait time longer than the time it takes to update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 18:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/970001#M376981</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-06-30T18:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: update (add rows) to a permanent data set from multiple sas sessions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/970004#M376982</link>
      <description>When sas update the date set in one process then it lock it only during the update time ( which can take 10 seconds via proc append)...</description>
      <pubDate>Mon, 30 Jun 2025 18:17:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/970004#M376982</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2025-06-30T18:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: update (add rows) to a permanent data set from multiple sas sessions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/970011#M376987</link>
      <description>&lt;P&gt;If you set FILELOCKWAIT = 20, then it should be more than adequate to cope with your 10 second process time.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 22:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-add-rows-to-a-permanent-data-set-from-multiple-sas/m-p/970011#M376987</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-06-30T22:33:34Z</dc:date>
    </item>
  </channel>
</rss>

