<?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 generate A* B records in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-generate-A-B-records/m-p/758299#M239413</link>
    <description>&lt;PRE&gt;Proc Sql;
   create table want as
   select dat1.x, dat2.y
   from dat1, dat2
   ;
quit;&lt;/PRE&gt;
&lt;P&gt;There will be a note in the log about a Cartesian join that cannot be optimized. Since you are requesting a Cartesian join, all records with all records, that note is okay.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jul 2021 00:33:20 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-07-30T00:33:20Z</dc:date>
    <item>
      <title>How to generate A* B records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-generate-A-B-records/m-p/758298#M239412</link>
      <description>&lt;P&gt;data dat1;&lt;BR /&gt;input x;&lt;BR /&gt;cards;&lt;BR /&gt;1&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;6&lt;BR /&gt;7&lt;BR /&gt;8&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;data dat2;&lt;BR /&gt;input y;&lt;BR /&gt;cards;&lt;BR /&gt;1&lt;BR /&gt;4&lt;BR /&gt;3&lt;BR /&gt;6&lt;BR /&gt;7&lt;BR /&gt;5&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to get the data include all &lt;SPAN&gt;combination of x and y?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;that is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1&amp;nbsp;1&lt;BR /&gt;1 4&lt;BR /&gt;1 3&lt;BR /&gt;1 6&lt;BR /&gt;1 7&lt;BR /&gt;1 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3 1&lt;BR /&gt;3 4&lt;BR /&gt;3 3&lt;BR /&gt;3 6&lt;BR /&gt;3 7&lt;BR /&gt;3 5....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 00:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-generate-A-B-records/m-p/758298#M239412</guid>
      <dc:creator>walterwang</dc:creator>
      <dc:date>2021-07-30T00:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate A* B records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-generate-A-B-records/m-p/758299#M239413</link>
      <description>&lt;PRE&gt;Proc Sql;
   create table want as
   select dat1.x, dat2.y
   from dat1, dat2
   ;
quit;&lt;/PRE&gt;
&lt;P&gt;There will be a note in the log about a Cartesian join that cannot be optimized. Since you are requesting a Cartesian join, all records with all records, that note is okay.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 00:33:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-generate-A-B-records/m-p/758299#M239413</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-30T00:33:20Z</dc:date>
    </item>
  </channel>
</rss>

