<?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: Can we insert observations from multiple sources into a sas dataset same time in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193576#M36393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ways I know of how to achieve or simulate concurrent write to SAS tables:&lt;/P&gt;&lt;P&gt;1. SAS/Share&lt;/P&gt;&lt;P&gt;2. Filelockwait&lt;/P&gt;&lt;P&gt;3. Each process writes to its own table but you have a view over these tables. You then can use the view for downstream processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....ideally: You use a database table instead which allows concurrent write (eg. a table in Oracle).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 22:34:49 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2015-07-01T22:34:49Z</dc:date>
    <item>
      <title>Can we insert observations from multiple sources into a sas dataset same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193573#M36390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a&amp;nbsp; multiple macros those select record conditionally from database tables and insert output records into a sas datasets.&lt;/P&gt;&lt;P&gt;some times these macros run parallel and insert resulting records into a same dataset.&lt;/P&gt;&lt;P&gt;I am using proc sql&amp;nbsp; to insert records, but I am losing some of the records.&lt;/P&gt;&lt;P&gt;is there other way we can insert processed records into a dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193573#M36390</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2015-07-01T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can we insert observations from multiple sources into a sas dataset same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193574#M36391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is SAS/SHARE available&lt;/P&gt;&lt;P&gt;it was designed to support such concurrent update&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 22:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193574#M36391</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2015-07-01T22:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can we insert observations from multiple sources into a sas dataset same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193575#M36392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How long do your inserts take? There is an option FILELOCKWAIT you can use to get SAS to wait for a locked SAS dataset to free up so in effect the inserts happen sequentially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/hostwin/67279/HTML/default/viewer.htm#n0fh4oaq31gvqkn1hlh75lvv9396.htm"&gt;http://support.sas.com/documentation/cdl/en/hostwin/67279/HTML/default/viewer.htm#n0fh4oaq31gvqkn1hlh75lvv9396.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This option can be applied on a LIBNAME statement which you would need to use just prior to the SQL insert, then clear the LIBNAME immediately afterwards just to be safe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 22:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193575#M36392</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-07-01T22:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can we insert observations from multiple sources into a sas dataset same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193576#M36393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ways I know of how to achieve or simulate concurrent write to SAS tables:&lt;/P&gt;&lt;P&gt;1. SAS/Share&lt;/P&gt;&lt;P&gt;2. Filelockwait&lt;/P&gt;&lt;P&gt;3. Each process writes to its own table but you have a view over these tables. You then can use the view for downstream processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....ideally: You use a database table instead which allows concurrent write (eg. a table in Oracle).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 22:34:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193576#M36393</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-07-01T22:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can we insert observations from multiple sources into a sas dataset same time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193577#M36394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think a VIEW is the way to go.&lt;/P&gt;&lt;P&gt;On great feature it provides is the USING clause to define a libref / connection with options like FILELOCKWAIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 23:07:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-insert-observations-from-multiple-sources-into-a-sas/m-p/193577#M36394</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2015-07-01T23:07:44Z</dc:date>
    </item>
  </channel>
</rss>

