<?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 create single view on multiple table and access it? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-single-view-on-multiple-table-and-access-it/m-p/151194#M11853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you syntax is a bit off,&amp;nbsp; you can only have ONE name for ONE view, here you are offering two: 'join' and 'one.join_vw'. Try to make them the same:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data one.join_vw / view=one.join_vw;&lt;/P&gt;&lt;P&gt;set one two;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, just to be clear, SAS View is a piece of SAS code, so it doesn't care how many tables involved, when you used it, it also doesn't care if it is sourced from multiple tables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2014 22:11:22 GMT</pubDate>
    <dc:creator>Haikuo</dc:creator>
    <dc:date>2014-12-15T22:11:22Z</dc:date>
    <item>
      <title>How to create single view on multiple table and access it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-single-view-on-multiple-table-and-access-it/m-p/151193#M11852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two SAS table&amp;nbsp; one and two.both the table having some same column and some different col.I need to append the data and create a single dataset. on top of that I need to create view on the combine table.&lt;/P&gt;&lt;P&gt;I am using below code but not able to do it.&lt;/P&gt;&lt;P&gt;data join / view=one.join_vw;&lt;/P&gt;&lt;P&gt;set one two;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;its throwing an error&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR&lt;/STRONG&gt;: The requested type of view (Input or Output) cannot be determined.&lt;/P&gt;&lt;P&gt;let me know anyone have any solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;further I need to access the view for different process. can I would be able to access the view as it is created on two different table.&lt;/P&gt;&lt;P&gt;Thanks;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 21:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-single-view-on-multiple-table-and-access-it/m-p/151193#M11852</guid>
      <dc:creator>PravinMishra</dc:creator>
      <dc:date>2014-12-15T21:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to create single view on multiple table and access it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-single-view-on-multiple-table-and-access-it/m-p/151194#M11853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you syntax is a bit off,&amp;nbsp; you can only have ONE name for ONE view, here you are offering two: 'join' and 'one.join_vw'. Try to make them the same:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data one.join_vw / view=one.join_vw;&lt;/P&gt;&lt;P&gt;set one two;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, just to be clear, SAS View is a piece of SAS code, so it doesn't care how many tables involved, when you used it, it also doesn't care if it is sourced from multiple tables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 22:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-single-view-on-multiple-table-and-access-it/m-p/151194#M11853</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2014-12-15T22:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create single view on multiple table and access it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-single-view-on-multiple-table-and-access-it/m-p/151195#M11854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used below code and it's working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data join_one/view=join_one;&lt;/P&gt;&lt;P&gt;set oil.oil;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data join_two/view=join_two;&lt;/P&gt;&lt;P&gt;set ocb.ocb;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data out.join_vw/ view=out.join_vw;&lt;/P&gt;&lt;P&gt;set join_one join_two;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data join_out;&lt;/P&gt;&lt;P&gt;set out.join_vw;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 22:39:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-single-view-on-multiple-table-and-access-it/m-p/151195#M11854</guid>
      <dc:creator>PravinMishra</dc:creator>
      <dc:date>2014-12-15T22:39:25Z</dc:date>
    </item>
  </channel>
</rss>

