<?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: ERROR 252-185: The MISSING subroutine call does not have enough arguments. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/329096#M62534</link>
    <description>I don't create tables in Oracle, I just pull stuff down.  And that's what I got.</description>
    <pubDate>Wed, 01 Feb 2017 14:04:54 GMT</pubDate>
    <dc:creator>SSG</dc:creator>
    <dc:date>2017-02-01T14:04:54Z</dc:date>
    <item>
      <title>ERROR 252-185: The MISSING subroutine call does not have enough arguments.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328829#M62515</link>
      <description>&lt;P&gt;Currently running SAS 9.4. I've found absolutely nothing about the above error message anywhere, so I'm hoping the community can help. I'm trying to execute the CALL MISSING &amp;nbsp;routine as part of a data step below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data HLS_Advisor;set HLS_data;&lt;BR /&gt;if COHORT_YEAR =2016 then call missing &lt;BR /&gt;(of CUM_GPA_CENSUS_1_YR-CUM_GPA_CENSUS_6_YRS, of RETAIN_1_YR_ORG_CAMPUS-RETAIN_6_YR_ORG_CAMPUS, of GRAD_1_YR_ORG_CAMPUS-GRAD_6_YR_ORG_CAMPUS);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the error above and how do I fix it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.&lt;/P&gt;
&lt;P&gt;I'm also getting "ERROR: Missing numeric suffix on a numbered variable list" for all three arrays. &amp;nbsp;Can't find anything about how toi fix that either.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 17:25:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328829#M62515</guid>
      <dc:creator>SSG</dc:creator>
      <dc:date>2017-01-31T17:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 252-185: The MISSING subroutine call does not have enough arguments.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328831#M62516</link>
      <description>&lt;P&gt;In SAS, this is not a proper way of specifying a list of variables:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CUM_GPA_CENSUS_1_YR-CUM_GPA_CENSUS_6_YRS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your variables were named differently, you could use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CUM_GPA_CENSUS_YR_1-CUM_GPA_CENSUS_YR_6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To use this type of list, the variable names must all begin with the same prefix, and must end with a numeric suffix.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is another way, that might be appropriate, depending on the full set of variable names in your data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if COHORT_YEAR =2016 then call missing &lt;BR /&gt;(of CUM_GPA_CENSUS_:, of RETAIN_:, of GRAD_: );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the colon represents all variable names that begin with the character listed in the prefix.&amp;nbsp; So if you have NO other variables that begin with the name RETAIN_, GRAD_, etc. you could use this style.&amp;nbsp; Otherwise, you just have to spell out the list of all 18 variable names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 17:43:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328831#M62516</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-01-31T17:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 252-185: The MISSING subroutine call does not have enough arguments.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328842#M62517</link>
      <description>&lt;P&gt;That seems rather arbitrary but it worked. &amp;nbsp;Thanks! &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, these &amp;nbsp;fields are being pulled in from an Oracle SQL Server database, so the naming conventions are based on what works there rather than what works best for SAS. &amp;nbsp;Hopefully this will be fixed in a future SAS release.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 18:10:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328842#M62517</guid>
      <dc:creator>SSG</dc:creator>
      <dc:date>2017-01-31T18:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 252-185: The MISSING subroutine call does not have enough arguments.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328844#M62518</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4077"&gt;@SSG&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;That seems rather arbitrary but it worked. &amp;nbsp;Thanks! &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, these &amp;nbsp;fields are being pulled in from an Oracle SQL Server database, so the naming conventions are based on what works there rather than what works best for SAS. &amp;nbsp;Hopefully this will be fixed in a future SAS release.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Nothing is broken. Nothing to fix.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 18:20:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328844#M62518</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2017-01-31T18:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 252-185: The MISSING subroutine call does not have enough arguments.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328861#M62520</link>
      <description>&lt;P&gt;Enumerated lists of variables need have the counter at the END of the variable name, not in the middle.&lt;/P&gt;
&lt;P&gt;If you want to select a range of variables based on POSITION then you can use a double hyphen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;call missing 
(of CUM_GPA_CENSUS_1_YR -- CUM_GPA_CENSUS_6_YRS
  RETAIN_1_YR_ORG_CAMPUS -- RETAIN_6_YR_ORG_CAMPUS
  GRAD_1_YR_ORG_CAMPUS -- GRAD_6_YR_ORG_CAMPUS
);
 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But this will include any other variables that just happen to appear between the two listed. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To see the variable names in order use the VARNUM option on PROC CONTENTS. &amp;nbsp;Or just do a quick data step to spit out the variable names ot the log.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  set HLS_data (obs=1);
  put (_all_) (=/);
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Jan 2017 20:31:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/328861#M62520</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-01-31T20:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 252-185: The MISSING subroutine call does not have enough arguments.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/329008#M62529</link>
      <description>as nothing is broken &lt;BR /&gt;we have only to cope with what appears to be a feature of oracle name ranges that I would call unreliable:&lt;BR /&gt;Does oracle really allow variable name ranges where the number is anywhere in the middle of a name?&lt;BR /&gt;What should its parser assume where two separated numbers appear within the name?-CUM_GPA_4_CENSUS_6_YR - -CUM_GPA_6_CENSUS_11_YRS&lt;BR /&gt;&lt;BR /&gt;A SAS approach can almost cope -we just need to define where the number is expected to appear. A regular expression definition would be ideal....&lt;BR /&gt;From a download of the column names in the oracle table we could extract the range of column names that match the required pattern INTO : REQUIRED_COLUMNS_LIST &lt;BR /&gt; &lt;BR /&gt;I remain surprised that anyone can suggest oracle has a superior column name parser than SAS&lt;BR /&gt;~~~~~&lt;BR /&gt;just my $0.01</description>
      <pubDate>Wed, 01 Feb 2017 09:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/329008#M62529</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2017-02-01T09:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 252-185: The MISSING subroutine call does not have enough arguments.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/329096#M62534</link>
      <description>I don't create tables in Oracle, I just pull stuff down.  And that's what I got.</description>
      <pubDate>Wed, 01 Feb 2017 14:04:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-252-185-The-MISSING-subroutine-call-does-not-have-enough/m-p/329096#M62534</guid>
      <dc:creator>SSG</dc:creator>
      <dc:date>2017-02-01T14:04:54Z</dc:date>
    </item>
  </channel>
</rss>

