<?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: Zero records displaying while running proc report while using prompt values in SAS Stored proces in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351257#M63907</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A few things to consider:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;what is the type for variable valid_from_date, char or numeric (SAS date)&lt;/LI&gt;
&lt;LI&gt;having dates represented as char value is not recommend&lt;/LI&gt;
&lt;LI&gt;character comparison are always case sensitive, maybe that is why no rows are returned&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Sending the log will help in figuring out what is wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 12:33:50 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2017-04-19T12:33:50Z</dc:date>
    <item>
      <title>Zero records displaying while running proc report while using prompt values in SAS Stored process</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351245#M63905</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the data set UMappeallog .I would like to print the report using proc report but I got the 0 records .Is my code representation is ok in where clause in proc report? If not how I can write the code for getting 3 records in the report.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dataset:UMappeallog&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;==========&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;provider_id &amp;nbsp; Case_id &amp;nbsp; &amp;nbsp; valid_from_date&lt;/P&gt;&lt;P&gt;p001 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Coo1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 03Apr2017&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;p002 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Coo2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 03Apr2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;p003 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Coo3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 03Apr2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* below macro variables OPEN_DATE_MIN,OPEN_DATE_MAX coming from date selection in prompts */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;%let OPEN_DATE_MIN=19apr2016;&lt;BR /&gt;%let OPEN_DATE_MAX=19apr2017;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc report data=UMAppealLog1 nowd split='*';&lt;BR /&gt;where valid_from_date between "&amp;amp;open_date_min" and "&amp;amp;open_date_max";&lt;/P&gt;&lt;P&gt;column &amp;nbsp;&lt;SPAN&gt;provider_id &amp;nbsp; &amp;nbsp; &amp;nbsp;Case_id &amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;define &amp;nbsp;&lt;SPAN&gt;provider_id/"provider id";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;define &amp;nbsp;Case_id/"Case id";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 12:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351245#M63905</guid>
      <dc:creator>chanduk</dc:creator>
      <dc:date>2017-04-19T12:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351255#M63906</link>
      <description>Hi, offhand, my guess would be that your WHERE statement is incorrect. if you remove the WHERE statement, you can test whether the PROC REPORT is working. Then you can fix the WHERE. My guess is that without the WHERE you will see all the observations in the data.&lt;BR /&gt;&lt;BR /&gt;If your variable VALID_FROM_DATE is a SAS numeric variable that is formatted as a date, then you need to use the date constant syntax for specifying a date:&lt;BR /&gt;where myvar = "&amp;amp;wantdate"d; or&lt;BR /&gt;where myvar between "01jan2017"d and "05jan22017"d;&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 19 Apr 2017 12:28:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351255#M63906</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-04-19T12:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351257#M63907</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A few things to consider:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;what is the type for variable valid_from_date, char or numeric (SAS date)&lt;/LI&gt;
&lt;LI&gt;having dates represented as char value is not recommend&lt;/LI&gt;
&lt;LI&gt;character comparison are always case sensitive, maybe that is why no rows are returned&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Sending the log will help in figuring out what is wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 12:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351257#M63907</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-04-19T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351272#M63909</link>
      <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code for converting numeric date value into character value .&lt;SPAN&gt;Valid_from_dt is the sas date value .Without converting character value , how to check the&amp;nbsp;Valid_from_date &amp;nbsp;between &amp;nbsp;"&amp;amp;open_date_min" and "&amp;amp;open_date_max". &amp;nbsp;I mentioned below sample log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data UMAppealLog1;&lt;BR /&gt;set UMAppealLog;&lt;BR /&gt;Valid_from_date=strip(put(Valid_from_dt,date9.));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: No observations were selected from data set WORK.&lt;SPAN&gt;UMAppealLog1&lt;/SPAN&gt;.&lt;BR /&gt;NOTE: No observations in input data set.&lt;BR /&gt;NOTE: There were 0 observations read from the data set WORK.UMAPPEALLOG1.&lt;BR /&gt;WHERE (valid_from_date&amp;gt;='19apr2016' and valid_from_date&amp;lt;='19apr2017');&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351272#M63909</guid>
      <dc:creator>chanduk</dc:creator>
      <dc:date>2017-04-19T13:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351274#M63910</link>
      <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code for converting numeric date value into character value .&lt;SPAN&gt;Valid_from_dt is the sas date value .Without converting character value , how to check the&amp;nbsp;Valid_from_date &amp;nbsp;between &amp;nbsp;"&amp;amp;open_date_min" and "&amp;amp;open_date_max". &amp;nbsp;I mentioned below sample log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data UMAppealLog1;&lt;BR /&gt;set UMAppealLog;&lt;BR /&gt;Valid_from_date=strip(put(Valid_from_dt,date9.));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: No observations were selected from data set WORK.&lt;SPAN&gt;UMAppealLog1&lt;/SPAN&gt;.&lt;BR /&gt;NOTE: No observations in input data set.&lt;BR /&gt;NOTE: There were 0 observations read from the data set WORK.UMAPPEALLOG1.&lt;BR /&gt;WHERE (valid_from_date&amp;gt;='19apr2016' and valid_from_date&amp;lt;='19apr2017');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:11:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351274#M63910</guid>
      <dc:creator>chanduk</dc:creator>
      <dc:date>2017-04-19T13:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351276#M63912</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below is the log after changing little bit on proc report.Please see the error.&lt;/P&gt;&lt;P&gt;28&lt;BR /&gt;29 %let OPEN_DATE_MIN=19apr2016;&lt;BR /&gt;30 %let OPEN_DATE_MAX=19apr2017;&lt;BR /&gt;31 TITLE1 "UM Appeal Log";&lt;BR /&gt;32 TITLE2 "From &amp;amp;OPEN_DATE_MIN. To &amp;amp;OPEN_DATE_MAX.)";&lt;BR /&gt;33&lt;BR /&gt;34 proc report data=UMAppealLog1 nowd split='*';&lt;BR /&gt;35 where valid_from_date between "&amp;amp;open_date_min"d and "&amp;amp;open_date_max"d;&lt;BR /&gt;2 The SAS System 00:02 Wednesday, April 19, 2017&lt;/P&gt;&lt;P&gt;ERROR: WHERE clause operator requires compatible variables.&lt;BR /&gt;36 column x_f_b_prov_id x_f_b_prov_nm case_id x_p_recoup_amt x_b_no_analyst_nm X_P_AFTR_REBUTTAL_AMT x_b_admin_ar&lt;BR /&gt;37 X_B_ADMIN_RV_INFO X_B_FAIR_DT X_B_FAIR_COMM X_B_DIS_DT_DECISION X_B_DIS_COURT_COMM X_B_APPEAL_LOG;&lt;BR /&gt;38 define x_f_b_prov_id/"Provider ID";&lt;BR /&gt;39 define x_f_b_prov_nm/"Provider Name"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351276#M63912</guid>
      <dc:creator>chanduk</dc:creator>
      <dc:date>2017-04-19T13:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351292#M63913</link>
      <description>&lt;P&gt;Use proc contents to determine the attributes of variable valid_from_date.&lt;/P&gt;
&lt;P&gt;And post some examples for the values contained in valid_from_date. As it looks, you have your dates stored as character, which is A BAD IDEA.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/125748"&gt;@chanduk&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Below is the log after changing little bit on proc report.Please see the error.&lt;/P&gt;
&lt;P&gt;28&lt;BR /&gt;29 %let OPEN_DATE_MIN=19apr2016;&lt;BR /&gt;30 %let OPEN_DATE_MAX=19apr2017;&lt;BR /&gt;31 TITLE1 "UM Appeal Log";&lt;BR /&gt;32 TITLE2 "From &amp;amp;OPEN_DATE_MIN. To &amp;amp;OPEN_DATE_MAX.)";&lt;BR /&gt;33&lt;BR /&gt;34 proc report data=UMAppealLog1 nowd split='*';&lt;BR /&gt;35 where valid_from_date between "&amp;amp;open_date_min"d and "&amp;amp;open_date_max"d;&lt;BR /&gt;2 The SAS System 00:02 Wednesday, April 19, 2017&lt;/P&gt;
&lt;P&gt;ERROR: WHERE clause operator requires compatible variables.&lt;BR /&gt;36 column x_f_b_prov_id x_f_b_prov_nm case_id x_p_recoup_amt x_b_no_analyst_nm X_P_AFTR_REBUTTAL_AMT x_b_admin_ar&lt;BR /&gt;37 X_B_ADMIN_RV_INFO X_B_FAIR_DT X_B_FAIR_COMM X_B_DIS_DT_DECISION X_B_DIS_COURT_COMM X_B_APPEAL_LOG;&lt;BR /&gt;38 define x_f_b_prov_id/"Provider ID";&lt;BR /&gt;39 define x_f_b_prov_nm/"Provider Name"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;chandu&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351292#M63913</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-19T13:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351296#M63914</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The variable name Valid_from_dt seems to indicate, that the "valid from" variable is a datetime value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt; mentioned please post the output of the Proc Contents data=UMAppealLog; as well as some values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If valid_from_dt is actually a datetime value, you can use the DATEPART() function to extract the date and use a date constant like "19apr2017"d in your where statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:41:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351296#M63914</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-04-19T13:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351331#M63917</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see below complete code and also see the log . Still I am getting error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table UMAppealLog as&lt;BR /&gt;select a.x_f_b_prov_id,&lt;BR /&gt;a.x_f_b_prov_nm,&lt;BR /&gt;b.case_id,&lt;BR /&gt;b.CASE_TYPE_CD,&lt;BR /&gt;datepart(b.valid_from_dttm) as Valid_from_dt,&lt;BR /&gt;c.x_p_recoup_amt,&lt;BR /&gt;c.X_P_AFTR_REBUTTAL_AMT,&lt;BR /&gt;d.x_b_no_analyst_nm,&lt;BR /&gt;e.x_b_admin_ar,&lt;BR /&gt;e.X_B_ADMIN_RV_INFO,&lt;BR /&gt;e.X_B_FAIR_DT,&lt;BR /&gt;e.X_B_FAIR_COMM,&lt;BR /&gt;e.X_B_DIS_DT_DECISION,&lt;BR /&gt;e.X_B_DIS_COURT_COMM,&lt;BR /&gt;e.X_B_APPEAL_LOG,&lt;BR /&gt;f.x_b_case_status&lt;BR /&gt;from ecm_rpt.c_findings a,&lt;BR /&gt;ecm_rpt.case_pivot b,&lt;BR /&gt;ecm_rpt.c_recoupment c,&lt;BR /&gt;ecm_rpt.c_peer_review d,&lt;BR /&gt;ecm_rpt.c_x_appeal e,&lt;BR /&gt;ecm_rpt.c_referred_from f&lt;BR /&gt;where a.case_rk=b.case_rk&lt;BR /&gt;and b.case_rk=c.case_rk&lt;BR /&gt;and c.case_rk=d.case_rk&lt;BR /&gt;and d.case_rk=e.case_rk&lt;BR /&gt;and e.case_rk=f.case_rk&lt;BR /&gt;and b.CASE_TYPE_CD eq 'PROV'&lt;BR /&gt;and e.X_B_APPEAL_INFO='1'&lt;BR /&gt;and f.x_b_case_status ne 'Closed'&lt;BR /&gt;;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;/*data UMAppealLog1;*/&lt;BR /&gt;/*set UMAppealLog;*/&lt;BR /&gt;/*Valid_from_date=strip(put(Valid_from_dt,date9.));*/&lt;BR /&gt;/*run;*/&lt;/P&gt;&lt;P&gt;%let OPEN_DATE_MIN=19apr2016;&lt;BR /&gt;%let OPEN_DATE_MAX=19apr2017;&lt;BR /&gt;TITLE1 "UM Appeal Log";&lt;BR /&gt;TITLE2 "From &amp;amp;OPEN_DATE_MIN. To &amp;amp;OPEN_DATE_MAX.)";&lt;/P&gt;&lt;P&gt;proc report data=UMAppealLog nowd split='*';&lt;BR /&gt;where "valid_from_dt"d between "&amp;amp;open_date_min" and "&amp;amp;open_date_max";&lt;BR /&gt;column x_f_b_prov_id x_f_b_prov_nm case_id x_p_recoup_amt x_b_no_analyst_nm X_P_AFTR_REBUTTAL_AMT x_b_admin_ar&lt;BR /&gt;X_B_ADMIN_RV_INFO X_B_FAIR_DT X_B_FAIR_COMM X_B_DIS_DT_DECISION X_B_DIS_COURT_COMM X_B_APPEAL_LOG;&lt;BR /&gt;define x_f_b_prov_id/"Provider ID";&lt;BR /&gt;define x_f_b_prov_nm/"Provider Name";&lt;BR /&gt;define case_id/"Case ID";&lt;BR /&gt;define x_p_recoup_amt/"Issue Account * Receivable#";&lt;BR /&gt;define x_b_no_analyst_nm/"UM Analyst";&lt;BR /&gt;define X_P_AFTR_REBUTTAL_AMT/"Administration*Reconsideration*Amt";&lt;BR /&gt;define x_b_admin_ar/"AR LETTER DATE";&lt;BR /&gt;define X_B_ADMIN_RV_INFO/"AR DECISIONS";&lt;BR /&gt;define X_B_FAIR_DT/"Fair Hearing*Decision Letter Date";&lt;BR /&gt;define X_B_FAIR_COMM/"Fair Hearing*Decision Comments";&lt;BR /&gt;define X_B_DIS_DT_DECISION/"District Court * Decision Date";&lt;BR /&gt;define X_B_DIS_COURT_COMM/"District Court*Comments";&lt;BR /&gt;define X_B_APPEAL_LOG/"Appeal Comments ";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===========&lt;/P&gt;&lt;P&gt;LOG&lt;/P&gt;&lt;P&gt;=========&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;69 proc report data=UMAppealLog nowd split='*';&lt;BR /&gt;70 where "valid_from_dt"d between "&amp;amp;open_date_min" and "&amp;amp;open_date_max";&lt;BR /&gt;ERROR: Invalid date/time/datetime constant "valid_from_dt"d.&lt;BR /&gt;ERROR: Syntax error while parsing WHERE clause.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 15:08:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351331#M63917</guid>
      <dc:creator>chanduk</dc:creator>
      <dc:date>2017-04-19T15:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351344#M63919</link>
      <description>&lt;P&gt;Completely explained by the error message:&lt;/P&gt;
&lt;P&gt;ERROR: Invalid date/time/datetime constant "valid_from_dt"d.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"valid_from_dt"d is in no way a date value. A SAS date litteral, indicated by use of "somethng"d must be in either DATE7 or Date9 appearance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"01JAN2017"d or "01JAN17"d are valid types&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;furthermore&lt;/P&gt;
&lt;P&gt;between "&amp;amp;open_date_min" and "&amp;amp;open_date_max";&lt;/P&gt;
&lt;P&gt;would fail because these are missing the d&lt;/P&gt;
&lt;P&gt;between "&amp;amp;open_date_min"&lt;STRONG&gt;d&lt;/STRONG&gt; and "&amp;amp;open_date_max"&lt;STRONG&gt;d&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned &lt;STRONG&gt;multiple times&lt;/STRONG&gt; provide proc contents results for your variable Valid_from_dt. The contents of that variable will be needed to create a valid Where clause.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 15:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351344#M63919</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-19T15:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351412#M63923</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see attached screen shot file for proc contents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 18:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351412#M63923</guid>
      <dc:creator>chanduk</dc:creator>
      <dc:date>2017-04-19T18:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351428#M63927</link>
      <description>&lt;P&gt;Please show some of the values of valid_from_date, so we can see how the presumed date values are stored.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 19:10:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351428#M63927</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-19T19:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Zero records displaying while running proc report while using prompt values in SAS Stored proces</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351478#M63934</link>
      <description>&lt;P&gt;Valid_from_dt in the proc contents is shown as type NUM and no date informat or format. So it is very likely not an actual date value but a numeric like 10152014 immitating a date. So we need to see exact values to get an idea of how to make it an actual date.&lt;/P&gt;
&lt;P&gt;Likely will be something like one of these&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;datevalue = input (put(valid_from_dt, z8.),mmddyy8.)&lt;/P&gt;
&lt;P&gt;datevalue = input (put(valid_from_dt, z8.),ddmmyy8.)&lt;/P&gt;
&lt;P&gt;datevalue = input (put(valid_from_dt, z8.),yymmdd8.)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 22:37:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zero-records-displaying-while-running-proc-report-while-using/m-p/351478#M63934</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-19T22:37:47Z</dc:date>
    </item>
  </channel>
</rss>

