<?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: I want to create a macro to check record exist in each input files if exist then create an Outpu in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/852003#M336780</link>
    <description>&lt;P&gt;In addition to defining more of the question, as others have mentioned, it's very helpful if you will share the code you have tried, and describe the problems with it (errors, not desired results, etc.)&amp;nbsp; As general advice, most folks recommend starting with working SAS code (DATA steps and procs) before trying to write a macro (which will generate the SAS code).&amp;nbsp; Do you have SAS code that works like you want?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2023 17:12:44 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2023-01-03T17:12:44Z</dc:date>
    <item>
      <title>I want to create a macro to check record exist in each input files if exist then create an Output fi</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/851907#M336749</link>
      <description>If record doesn't exist then save it in excel file</description>
      <pubDate>Tue, 03 Jan 2023 09:57:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/851907#M336749</guid>
      <dc:creator>Gauri123-56</dc:creator>
      <dc:date>2023-01-03T09:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: I want to create a macro to check record exist in each input files if exist then create an Outpu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/851912#M336752</link>
      <description>Could I ask you to be more specific, please?&lt;BR /&gt;--fja</description>
      <pubDate>Tue, 03 Jan 2023 10:08:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/851912#M336752</guid>
      <dc:creator>fja</dc:creator>
      <dc:date>2023-01-03T10:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: I want to create a macro to check record exist in each input files if exist then create an Outpu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/851922#M336754</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/404913"&gt;@Gauri123-56&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;If record doesn't exist then save it in excel file&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, much more explanation is needed. In particular, you are saying if something doesn't exist then save it ... you can't save something that doesn't exist. That requires a very clearly worded statement of what you want.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 16:30:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/851922#M336754</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-01-03T16:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: I want to create a macro to check record exist in each input files if exist then create an Outpu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/851997#M336775</link>
      <description>&lt;P&gt;How do you intend to search for "if the record exists"? Are you going to supply a specific value for a named variable? Multiple variables? Do you know the names of the variables before hand? Actual values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What exactly is an "input file"? What format are the files? Where to do the input files reside? Do you expect to read the input file into a SAS data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What exactly is the output supposed to look like? A list of record definitions? All of the data?&lt;/P&gt;
&lt;P&gt;How many "input files" are we talking about? Is the name of the input file supposed to be part of the output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just a few of the details that need to be addressed.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 16:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/851997#M336775</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-01-03T16:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: I want to create a macro to check record exist in each input files if exist then create an Outpu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/852003#M336780</link>
      <description>&lt;P&gt;In addition to defining more of the question, as others have mentioned, it's very helpful if you will share the code you have tried, and describe the problems with it (errors, not desired results, etc.)&amp;nbsp; As general advice, most folks recommend starting with working SAS code (DATA steps and procs) before trying to write a macro (which will generate the SAS code).&amp;nbsp; Do you have SAS code that works like you want?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 17:12:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-create-a-macro-to-check-record-exist-in-each-input/m-p/852003#M336780</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-01-03T17:12:44Z</dc:date>
    </item>
  </channel>
</rss>

