<?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 PROC SURVEYREG ODS table ERROR in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/263996#M13921</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been running Proc Surveyfreq using SAS 9.2. The code runs OK. However, now that I have SAS 9.4, running the same code generates errors.&amp;nbsp;Here is the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;247 proc surveyreg data = data1 ;&lt;/P&gt;
&lt;P&gt;248&amp;nbsp;&amp;nbsp; strata _ststr; *stratification variable;&lt;/P&gt;
&lt;P&gt;249&amp;nbsp;&amp;nbsp; cluster _psu; *first stage clustering variable;&lt;/P&gt;
&lt;P&gt;250&amp;nbsp;&amp;nbsp; weight _PWTAS;&lt;/P&gt;
&lt;P&gt;251&amp;nbsp;&amp;nbsp; class ageg;&lt;/P&gt;
&lt;P&gt;252&amp;nbsp;&amp;nbsp; model VART1 = ageg /noint solution clparm;&lt;/P&gt;
&lt;P&gt;253&amp;nbsp;&amp;nbsp; estimate 'rat56' ageg 0.128810 0.182648 0.219077 0.299194 0.170271;&lt;/P&gt;
&lt;P&gt;254&amp;nbsp;&amp;nbsp; ods output 'estimates' = ratt56(rename=(estimate=adj_pect lowrcl=adj_lcl uprcl=adj_ucl) keep=estimate lowrcl&lt;/P&gt;
&lt;P&gt;254! uprcl);&lt;/P&gt;
&lt;P&gt;255 run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: In data set data1, total 1119 observations read, 126 observations with missing values or non-positive weights are omitted.&lt;/P&gt;
&lt;P&gt;NOTE: The structure of the Estimates table has changed from an earlier release of SAS.&lt;/P&gt;
&lt;P&gt;WARNING: Output ''estimates'' was not created. Make sure that the output object name, label, or path is spelled correctly.&amp;nbsp; Also, verify that the appropriate procedure options are used to produce the requested output object.&amp;nbsp; For example, verify that the NOPRINT option is not used.&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE SURVEYREG used (Total process time):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.47 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.26 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thank you for your help,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2016 02:44:28 GMT</pubDate>
    <dc:creator>ArtPsh</dc:creator>
    <dc:date>2016-04-15T02:44:28Z</dc:date>
    <item>
      <title>PROC SURVEYREG ODS table ERROR</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/263996#M13921</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been running Proc Surveyfreq using SAS 9.2. The code runs OK. However, now that I have SAS 9.4, running the same code generates errors.&amp;nbsp;Here is the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;247 proc surveyreg data = data1 ;&lt;/P&gt;
&lt;P&gt;248&amp;nbsp;&amp;nbsp; strata _ststr; *stratification variable;&lt;/P&gt;
&lt;P&gt;249&amp;nbsp;&amp;nbsp; cluster _psu; *first stage clustering variable;&lt;/P&gt;
&lt;P&gt;250&amp;nbsp;&amp;nbsp; weight _PWTAS;&lt;/P&gt;
&lt;P&gt;251&amp;nbsp;&amp;nbsp; class ageg;&lt;/P&gt;
&lt;P&gt;252&amp;nbsp;&amp;nbsp; model VART1 = ageg /noint solution clparm;&lt;/P&gt;
&lt;P&gt;253&amp;nbsp;&amp;nbsp; estimate 'rat56' ageg 0.128810 0.182648 0.219077 0.299194 0.170271;&lt;/P&gt;
&lt;P&gt;254&amp;nbsp;&amp;nbsp; ods output 'estimates' = ratt56(rename=(estimate=adj_pect lowrcl=adj_lcl uprcl=adj_ucl) keep=estimate lowrcl&lt;/P&gt;
&lt;P&gt;254! uprcl);&lt;/P&gt;
&lt;P&gt;255 run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: In data set data1, total 1119 observations read, 126 observations with missing values or non-positive weights are omitted.&lt;/P&gt;
&lt;P&gt;NOTE: The structure of the Estimates table has changed from an earlier release of SAS.&lt;/P&gt;
&lt;P&gt;WARNING: Output ''estimates'' was not created. Make sure that the output object name, label, or path is spelled correctly.&amp;nbsp; Also, verify that the appropriate procedure options are used to produce the requested output object.&amp;nbsp; For example, verify that the NOPRINT option is not used.&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE SURVEYREG used (Total process time):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.47 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.26 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thank you for your help,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 02:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/263996#M13921</guid>
      <dc:creator>ArtPsh</dc:creator>
      <dc:date>2016-04-15T02:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYFREQ</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264004#M13922</link>
      <description>&lt;P&gt;The note says the ESTIMATES results set may have change. I would try the code without any dataset options and see if the variable names have changed. Also, I don't think the procedure output table needs the quotes.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 20:16:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264004#M13922</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-04-14T20:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYFREQ</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264071#M13923</link>
      <description>&lt;P&gt;The log contains&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTE: The structure of the Estimates table has changed from an earlier release of&amp;nbsp;SAS.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now you need&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods output Estimates = ratt56(rename=(estimate=adj_pect lower=adj_lcl upper=adj_ucl) keep=estimate lower upper);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 02:41:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264071#M13923</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-04-15T02:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYFREQ</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264281#M13928</link>
      <description>&lt;P&gt;Ballard &amp;amp; PGStats,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you have suggested,&amp;nbsp;output in the ODS statement does not need to be surrounded by single&amp;nbsp;quotes. &amp;nbsp;Without the single quotes the new log from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods output Estimates = ratt56(rename=(estimate=adj_pect lower=adj_lcl upper=adj_ucl) keep=estimate lower upper);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;says:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;NOTE: &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="Courier New" size="2"&gt;The&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; structure of the Estimates table has changed from an earlier release of &lt;/FONT&gt;&lt;FONT color="#000000" face="Courier New" size="2"&gt;SAS.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;WARNING: The variable lower in the DROP, KEEP, or RENAME list has never been &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;referenced.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;WARNING: The variable upper in the DROP, KEEP, or RENAME list has never been &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;referenced.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;WARNING: The variable lower in the DROP, KEEP, or RENAME list has never been &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;referenced.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;WARNING: The variable upper in the DROP, KEEP, or RENAME list has never been &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#000000"&gt;referenced&lt;/FONT&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;I will need those variables as heading of the columns of the tables to be generated later.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;Is there any SAS literature on KEEP/DROP within ODS Output?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;Have a great weekend,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;ArtPsh&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 19:59:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264281#M13928</guid>
      <dc:creator>ArtPsh</dc:creator>
      <dc:date>2016-04-15T19:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYFREQ</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264296#M13929</link>
      <description>&lt;P&gt;You must include option CL in your ESTIMATE statement to get the LOWER and UPPER variables in ODS table Estimates.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 21:11:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264296#M13929</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-04-15T21:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYFREQ</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264628#M13954</link>
      <description>&lt;P&gt;Hello PGStats,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like you are pointing me to the right direction. I tried to include the CL options as follows:&lt;/P&gt;&lt;P&gt;ods output estimates = att156(rename=(estimate=adj_pct lowercl=adj_lcl uppercl=adj_ucl) keep=estimate lowercl&lt;/P&gt;&lt;P&gt;uppercl) &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/FONT&gt; options = cl;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;22&lt;/P&gt;&lt;P&gt;76&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string (in lieu of &lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;/&lt;/FONT&gt; before options=cl&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;&lt;P&gt;416 run;&lt;/P&gt;&lt;P&gt;How do you correct that syntax error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArtPsh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 17:24:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264628#M13954</guid>
      <dc:creator>ArtPsh</dc:creator>
      <dc:date>2016-04-18T17:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYFREQ</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264636#M13955</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please read the documentation for the ESTIMATE statement.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;estimate 'rat56' ageg 0.128810 0.182648 0.219077 0.299194 0.170271 / cl;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 17:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264636#M13955</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-04-18T17:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYREG ODS table ERROR</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264880#M13965</link>
      <description>&lt;P&gt;Hi PGStats,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I spent my time yesterday reading some literature on Proc Surveyreg, Estimate statement and ODS Output statement. I was unable to solve the intriguing error messages. This morning, SAS Technical Support advised me to do the following:&lt;/P&gt;&lt;P&gt;"The table name for the parameter estimates is &lt;STRONG&gt;ParameterEstimates&lt;/STRONG&gt;, so your ODS statement should be:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ods output parameterestimates." Inserting ParameterEstimates afte ODS Output helped solve the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your input,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ArtPsh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 19:37:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYREG-ODS-table-ERROR/m-p/264880#M13965</guid>
      <dc:creator>ArtPsh</dc:creator>
      <dc:date>2016-04-19T19:37:20Z</dc:date>
    </item>
  </channel>
</rss>

