<?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: Proc report: Weird Error Message in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43801#M11475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Since you didn't post your code, I don't know what you tried. I hope you didn't try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;DEFINE var: / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and try to use the variable list in the DEFINE statement. I would NOT expect that to work. A DEFINE statement only references 1 report item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I tried using a varlist only in the COLUMN statement and didn't have an issue (see screenshot), even with a mix of numeric and character variables in the numbered variables in my list. So, it's probably a good thing that you're working with Tech Support. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;data testlist(keep=name rest:);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; set&amp;nbsp; sashelp.class;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; length rest1 8 rest2 $1 rest3 rest4 8;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; rest1 = age;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; rest2 = sex;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; rest3 = height;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; rest4 = weight;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp file='c:\temp\varlist.xls'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style=sasweb;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=testlist nowd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column name rest:;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define name / order;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define rest1 / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define rest2 / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define rest3/ sum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={tagattr="format:##0.00"};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define rest4 /sum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={tagattr="format:##0.0"};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp close;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10860iC793E99195A58F72/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="using_varlist_xp.jpg" title="using_varlist_xp.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2012 14:48:31 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2012-02-02T14:48:31Z</dc:date>
    <item>
      <title>Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43796#M11470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing the spreadsheet reformatting via tagsets.excelxpand proc Report. Everything was going fine until I started to get a weird error message. I have looked through all the documentation and I can’t find it. Does anyone know what this means?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR:&amp;nbsp; Read Access Violation In Task [ REPORT ]&lt;/P&gt;&lt;P&gt;Exception occurred at (4FD0788C)&lt;/P&gt;&lt;P&gt;Task Traceback&lt;/P&gt;&lt;P&gt;Address&amp;nbsp;&amp;nbsp; Frame&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DBGHELP API Version 4.0 rev 5)&lt;/P&gt;&lt;P&gt;4FD0788C&amp;nbsp; 0AC6DEA4&amp;nbsp; tkmk:tkBoot+0x6868&lt;/P&gt;&lt;P&gt;017ACCEB&amp;nbsp; 0AC6DEB4&amp;nbsp; sashost:Main+0x16727&lt;/P&gt;&lt;P&gt;66FDD075&amp;nbsp; 0AC6DED8&amp;nbsp; sasods:mcn_main+0xDC075&lt;/P&gt;&lt;P&gt;66FDACE4&amp;nbsp; 0AC6E038&amp;nbsp; sasods:mcn_main+0xD9CE4&lt;/P&gt;&lt;P&gt;66FDF8E7&amp;nbsp; 0AC6E5C8&amp;nbsp; sasods:mcn_main+0xDE8E7&lt;/P&gt;&lt;P&gt;58DAF291&amp;nbsp; 0AC6E6A0&amp;nbsp; sasxml:mcn_main+0x1E291&lt;/P&gt;&lt;P&gt;08786C80&amp;nbsp; 0AC6E7D4&amp;nbsp; sasrep7:mcn_main+0x5C80&lt;/P&gt;&lt;P&gt;0878CA96&amp;nbsp; 0AC6E990&amp;nbsp; sasrep7:mcn_main+0xBA96&lt;/P&gt;&lt;P&gt;0878BE0A&amp;nbsp; 0AC6EA00&amp;nbsp; sasrep7:mcn_main+0xAE0A&lt;/P&gt;&lt;P&gt;66F2B4E1&amp;nbsp; 0AC6EB48&amp;nbsp; sasods:mcn_main+0x2A4E1&lt;/P&gt;&lt;P&gt;66F2A17D&amp;nbsp; 0AC6EC6C&amp;nbsp; sasods:mcn_main+0x2917D&lt;/P&gt;&lt;P&gt;64C14CF7&amp;nbsp; 0AC6FBA0&amp;nbsp; sasrepmn:mcn_main+0x3CF7&lt;/P&gt;&lt;P&gt;64BF1090&amp;nbsp; 0AC6FF90&amp;nbsp; sasrepor:mcn_main+0x90&lt;/P&gt;&lt;P&gt;017A2854&amp;nbsp; 0AC6FFA4&amp;nbsp; sashost:Main+0xC290&lt;/P&gt;&lt;P&gt;0188E038&amp;nbsp; 0AC6FFB8&amp;nbsp; sashost:Main+0xF7A74&lt;/P&gt;&lt;P&gt;77E64829&amp;nbsp; 0AC6FFEC&amp;nbsp; kernel32:GetModuleHandleA+0xDF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 22:02:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43796#M11470</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2012-02-01T22:02:57Z</dc:date>
    </item>
    <item>
      <title>Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43797#M11471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following may or may not apply: &lt;A href="http://support.sas.com/kb/39/506.html"&gt;http://support.sas.com/kb/39/506.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 22:08:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43797#M11471</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-01T22:08:32Z</dc:date>
    </item>
    <item>
      <title>Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43798#M11472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This would be an scenario where you need to work with Tech Support. If the problem is a bad TAGATTR specification, then they can help you figure out what the right TAGATTR value should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 23:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43798#M11472</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-02-01T23:20:53Z</dc:date>
    </item>
    <item>
      <title>Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43799#M11473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, yes.&amp;nbsp; I think the ":" in my proc report, code is the problem (as the the description of the error message indicated) . I am trying to pull in a list of variables using the wildcard : and when i remove the variables in the columns statement that have : at the end, the program works. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 04:17:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43799#M11473</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2012-02-02T04:17:05Z</dc:date>
    </item>
    <item>
      <title>Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43800#M11474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I am writing a description of the problem to Tech Support now.&lt;/SPAN&gt;&lt;SPAN&gt; Thanks!&lt;/SPAN&gt;&lt;SPAN&gt; I think the ":" in my proc report, code is the problem (as the the description of the error message indicated) . I am trying to pull in a list of variables using the wildcard : and when &lt;SPAN&gt;i&lt;/SPAN&gt; remove the variables in the columns statement that have : at the end, the program works.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 04:18:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43800#M11474</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2012-02-02T04:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43801#M11475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Since you didn't post your code, I don't know what you tried. I hope you didn't try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;DEFINE var: / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and try to use the variable list in the DEFINE statement. I would NOT expect that to work. A DEFINE statement only references 1 report item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I tried using a varlist only in the COLUMN statement and didn't have an issue (see screenshot), even with a mix of numeric and character variables in the numbered variables in my list. So, it's probably a good thing that you're working with Tech Support. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;data testlist(keep=name rest:);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; set&amp;nbsp; sashelp.class;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; length rest1 8 rest2 $1 rest3 rest4 8;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; rest1 = age;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; rest2 = sex;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; rest3 = height;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; rest4 = weight;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp file='c:\temp\varlist.xls'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style=sasweb;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=testlist nowd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column name rest:;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define name / order;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define rest1 / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define rest2 / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define rest3/ sum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={tagattr="format:##0.00"};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define rest4 /sum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={tagattr="format:##0.0"};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp close;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10860iC793E99195A58F72/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="using_varlist_xp.jpg" title="using_varlist_xp.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 14:48:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43801#M11475</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-02-02T14:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43802#M11476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;Cynthia@sas wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Since you didn't post your code, I don't know what you tried. I hope you didn't try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;DEFINE var: / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually PROC REPORT is fine with a "SAS Variable List" in DEFINE and COLUMN statements and perhpaps other places too.&amp;nbsp; It is NOT fine with a list of variables in a DEFINE statement.&amp;nbsp; Sometimes using "SAS Variable Lists" like _ALL_ will cause the message &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WARNING: Name is not in the report definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As _ALL_ refers to all variables in the input data set where the COLUMN statement may not include of those all variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;12&amp;nbsp;&amp;nbsp; proc report nowd list data=sashelp.class;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column sex age--weight name;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define _all_ / display;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define sex / order;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Height--Weight / format=8.2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;PROC REPORT DATA=SASHELP.CLASS LS=123 PS=63&amp;nbsp; SPLIT="/" CENTER ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;COLUMN&amp;nbsp; ( Sex Age Height Weight Name );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;DEFINE&amp;nbsp; Sex / ORDER FORMAT= $1. WIDTH=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPACING=2&amp;nbsp;&amp;nbsp; LEFT "Sex" ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;DEFINE&amp;nbsp; Age / DISPLAY FORMAT= BEST9. WIDTH=9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPACING=2&amp;nbsp;&amp;nbsp; RIGHT "Age" ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;DEFINE&amp;nbsp; Height / DISPLAY FORMAT= 8.2 WIDTH=8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPACING=2&amp;nbsp;&amp;nbsp; RIGHT "Height" ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;DEFINE&amp;nbsp; Weight / DISPLAY FORMAT= 8.2 WIDTH=8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPACING=2&amp;nbsp;&amp;nbsp; RIGHT "Weight" ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;DEFINE&amp;nbsp; Name / DISPLAY FORMAT= $8. WIDTH=8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPACING=2&amp;nbsp;&amp;nbsp; LEFT "Name" ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 16:14:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43802#M11476</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2012-02-02T16:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43803#M11477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for making me test my code. I should have tested before I posted. You are right. I stand corrected. (and all the more reason for the OP to work with Tech Support) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The interesting thing is that with SAS 9.3, ALL of the code below (including _ALL_ and the double hyphen list) worked for me. What version of SAS did you use for your test?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt; font-family: Arial;"&gt;cynthia&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** make sure I know the order of variables;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** to use the double hyphen list;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** name is in pos1, with sex--weight in pos 2 through 5;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc contents data=sashelp.class;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** use double hyphen;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp file='c:\temp\use_double_hyphen_list.xls'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style=sasweb;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class nowd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column sex--weight name;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define name / order;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define sex--weight / display;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** use colon;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp file='c:\temp\use_colon.xls'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style=sasweb;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=testlist nowd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column name rest:;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define name / order;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define rest: / display;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp close;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** use _all_;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp file='c:\temp\use_all.xls'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style=sasweb;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class nowd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column&amp;nbsp; _all_;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define _all_ / display;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** use _character_ and _numeric_;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp file='c:\temp\use_char_num.xls'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style=sasweb;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class nowd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column _character_ _numeric_;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define _character_ / display;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define _numeric_ / f=best8.2;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp close;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 18pt; font-family: courier new,courier;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18pt; font-family: courier new,courier;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 16:46:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43803#M11477</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-02-02T16:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43804#M11478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;Cynthia@sas wrote:&lt;/P&gt;&lt;P&gt;What version of SAS did you use for your test?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: Arial;"&gt;cynthia&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt; &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS (r) Proprietary Software 9.2 (TS2M0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 17:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43804#M11478</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2012-02-02T17:06:17Z</dc:date>
    </item>
    <item>
      <title>Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43805#M11479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm...curiouser and curiouser. And in the REPORT doc, it refers to the DEFINE statement as being used for a report-item (singular) and there's nothing in the doc about the ability to use the variable lists or referencing techniques. So, this is an instance where it seems like the colon technique,and some of the other techniques &lt;STRONG&gt;might &lt;/STRONG&gt;work with SAS 9.3, at least and possibly 9.2, but they are probably not the cause of the READ ACCESS VIOLATION. So, we have now wandered far afield of the original question and issue. It'll be interesting to see what the problem really was/is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 18:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43805#M11479</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-02-02T18:28:27Z</dc:date>
    </item>
    <item>
      <title>Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43806#M11480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;Cynthia@sas wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the REPORT doc, it refers to the DEFINE statement as being used for a report-item (singular) and there's nothing in the doc about the ability to use the variable lists or referencing techniques.&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC REPORT will accept a &lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000695105.htm"&gt;variable name list&lt;/A&gt;&lt;SPAN&gt; as a report-item in a DEFINE statement, but curiously this has never been documented. Our documentation people assure me that this will be rectified in the next edition of the PROC REPORT documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 19:11:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43806#M11480</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2012-02-02T19:11:10Z</dc:date>
    </item>
    <item>
      <title>Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43807#M11481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I've seen READ ACCESS VIOLATION from PROC REPORT many times.&amp;nbsp; Usually involving FLOW (don't use that much any more) or COMPUTE as I recall.&amp;nbsp; I usually just start factoring out bits until I find the point were it works again and then think about it some more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 19:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43807#M11481</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2012-02-02T19:28:08Z</dc:date>
    </item>
    <item>
      <title>Proc report: Weird Error Message</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43808#M11482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Cool, Tim! Thanks for clarifying that!&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 19:36:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-report-Weird-Error-Message/m-p/43808#M11482</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-02-02T19:36:31Z</dc:date>
    </item>
  </channel>
</rss>

