<?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: Length statement before merge statement in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Length-statement-before-merge-statement/m-p/615640#M18806</link>
    <description>&lt;P&gt;We've covered exactly this question quite recently (see &lt;A href="https://communities.sas.com/t5/SAS-Programming/Length-statement-before-merge-statement/m-p/613827#M179330" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/Length-statement-before-merge-statement/m-p/613827#M179330&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;Please post the source of the practice exam ("practice exams" not provided by SAS are often unusable junk), the exact question and answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The correct answer to your question as posted is of course that the length statement takes precedence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/305875"&gt;@KingstonCole&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV class="_3xX726aBn29LDbsDtzr_6E _1Ap4F5maDtT1E1YuCiaO0r D3IL3FD0RFy_mkKLPwL4"&gt;
&lt;DIV class="_292iotee39Lmt0MkQZ2hPV RichTextJSON-root"&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Hi everyone! Can someone help me with this question? I took a practice SAS exam a couple days ago and there was this question that is absolutely driving me insane. The question was about using a length statement before the merge statement. I have always thought that if you add the length statement before the merge then the length statement chooses the length of the column. However, I got the answer wrong because apparently SAS uses the first table in the merge statement to choose the length and not the length statement even though it was written before. I feel like I am missing something here. Can someone help?&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="_1hwEKkB_38tIoal6fcdrt9"&gt;
&lt;DIV class="_3-miAEojrCvx_4FQ8x3P-s"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2020 12:37:45 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-01-07T12:37:45Z</dc:date>
    <item>
      <title>Length statement before merge statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Length-statement-before-merge-statement/m-p/615638#M18805</link>
      <description>&lt;DIV class="_3xX726aBn29LDbsDtzr_6E _1Ap4F5maDtT1E1YuCiaO0r D3IL3FD0RFy_mkKLPwL4"&gt;&lt;DIV class="_292iotee39Lmt0MkQZ2hPV RichTextJSON-root"&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Hi everyone! Can someone help me with this question? I took a practice SAS exam a couple days ago and there was this question that is absolutely driving me insane. The question was about using a length statement before the merge statement. I have always thought that if you add the length statement before the merge then the length statement chooses the length of the column. However, I got the answer wrong because apparently SAS uses the first table in the merge statement to choose the length and not the length statement even though it was written before. I feel like I am missing something here. Can someone help?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="_1hwEKkB_38tIoal6fcdrt9"&gt;&lt;DIV class="_3-miAEojrCvx_4FQ8x3P-s"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Jan 2020 12:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Length-statement-before-merge-statement/m-p/615638#M18805</guid>
      <dc:creator>KingstonCole</dc:creator>
      <dc:date>2020-01-07T12:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Length statement before merge statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Length-statement-before-merge-statement/m-p/615640#M18806</link>
      <description>&lt;P&gt;We've covered exactly this question quite recently (see &lt;A href="https://communities.sas.com/t5/SAS-Programming/Length-statement-before-merge-statement/m-p/613827#M179330" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/Length-statement-before-merge-statement/m-p/613827#M179330&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;Please post the source of the practice exam ("practice exams" not provided by SAS are often unusable junk), the exact question and answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The correct answer to your question as posted is of course that the length statement takes precedence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/305875"&gt;@KingstonCole&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV class="_3xX726aBn29LDbsDtzr_6E _1Ap4F5maDtT1E1YuCiaO0r D3IL3FD0RFy_mkKLPwL4"&gt;
&lt;DIV class="_292iotee39Lmt0MkQZ2hPV RichTextJSON-root"&gt;
&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Hi everyone! Can someone help me with this question? I took a practice SAS exam a couple days ago and there was this question that is absolutely driving me insane. The question was about using a length statement before the merge statement. I have always thought that if you add the length statement before the merge then the length statement chooses the length of the column. However, I got the answer wrong because apparently SAS uses the first table in the merge statement to choose the length and not the length statement even though it was written before. I feel like I am missing something here. Can someone help?&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="_1hwEKkB_38tIoal6fcdrt9"&gt;
&lt;DIV class="_3-miAEojrCvx_4FQ8x3P-s"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 12:37:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Length-statement-before-merge-statement/m-p/615640#M18806</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-01-07T12:37:45Z</dc:date>
    </item>
  </channel>
</rss>

