<?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: What is the format in PROC SQL for checking for blank data? in Developers</title>
    <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3547#M1753</link>
    <description>It's almost the most misunderstood concept in SAS programming I think.  I have lost count of the number of times someone has asked "How do I change the number so it has n decimal places?"&lt;BR /&gt;
&lt;BR /&gt;
I always try to open a discussion on formats with a caveat like "it doesn't change the data, it simply adds lipstick so it looks familiar".  Actually, if I thought most people would understand I'd refer to a mask and Lon Chaney appearing as Quasimodo, but that probably dates me a little &lt;GRIN&gt;  You still have the fine actor underneath, but he looks a little different.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards&lt;BR /&gt;
&lt;BR /&gt;
David&lt;/GRIN&gt;</description>
    <pubDate>Fri, 29 Jun 2007 09:54:41 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-06-29T09:54:41Z</dc:date>
    <item>
      <title>What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3532#M1738</link>
      <description>I have a table that may or may not have data in certain fields.  In my PROC SQL, when I select the field that might / might not have data, my subsequent PROC REPORT displays the field as 'Error' when data is not present.&lt;BR /&gt;
&lt;BR /&gt;
How might I at least dummy fill that field with something like a quoted space (' ') or the words 'N/A', to avoid seeing that 'Error' in the field?  Would I do that in the PROC SQL or in the PROC REPORT?</description>
      <pubDate>Thu, 21 Jun 2007 13:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3532#M1738</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-21T13:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3533#M1739</link>
      <description>That is very odd. I have never had PROC REPORT display the word ERROR on a report when the data value is missing. Although you can sometimes get ERROR messages in the log when you try to use a variable the wrong way or apply the wrong format.&lt;BR /&gt;
 &lt;BR /&gt;
Try this program in a code node (NOT as a stored process). In my program, I am creating a file of 5 observations. Then I run a series of PROC SQL steps showing how to select rows based on whether NAME is missing, GRP is missing or NUMVAR is missing or whether they're NOT missing. Then I run a PROC REPORT on the same data.&lt;BR /&gt;
[pre]&lt;BR /&gt;
data makedata;&lt;BR /&gt;
  infile datalines dsd;&lt;BR /&gt;
  input name $ grp $ numvar;&lt;BR /&gt;
return;&lt;BR /&gt;
datalines;&lt;BR /&gt;
allan, aaa, 10&lt;BR /&gt;
bob,,20&lt;BR /&gt;
carl,ccc,30&lt;BR /&gt;
dave,ddd,.&lt;BR /&gt;
,eee,50&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
    &lt;BR /&gt;
title 'name is missing';&lt;BR /&gt;
proc sql;&lt;BR /&gt;
  select name, grp, numvar&lt;BR /&gt;
  from makedata&lt;BR /&gt;
  where name is missing;&lt;BR /&gt;
quit;&lt;BR /&gt;
  &lt;BR /&gt;
title 'grp is missing';&lt;BR /&gt;
proc sql;&lt;BR /&gt;
  select name, grp, numvar&lt;BR /&gt;
  from makedata&lt;BR /&gt;
  where grp is missing;&lt;BR /&gt;
quit;&lt;BR /&gt;
  &lt;BR /&gt;
title 'numvar is missing';&lt;BR /&gt;
proc sql;&lt;BR /&gt;
  select name, grp, numvar&lt;BR /&gt;
  from makedata&lt;BR /&gt;
  where numvar is missing;&lt;BR /&gt;
quit;&lt;BR /&gt;
  &lt;BR /&gt;
title 'all have values';&lt;BR /&gt;
proc sql;&lt;BR /&gt;
  select name, grp, numvar&lt;BR /&gt;
  from makedata&lt;BR /&gt;
  where name is not missing and&lt;BR /&gt;
        grp is not missing and&lt;BR /&gt;
        numvar is not missing;&lt;BR /&gt;
quit;&lt;BR /&gt;
  &lt;BR /&gt;
title 'Simple Proc Report';&lt;BR /&gt;
proc report data=makedata nowd;&lt;BR /&gt;
  column name grp numvar;&lt;BR /&gt;
run;&lt;BR /&gt;
  &lt;BR /&gt;
proc format;&lt;BR /&gt;
  value $namefmt ' ' = 'Not Applicable';&lt;BR /&gt;
  value $grpfmt ' ' = 'Not Applicable';&lt;BR /&gt;
  value nvfmt . = 'Not Applicable';&lt;BR /&gt;
run;&lt;BR /&gt;
  &lt;BR /&gt;
title 'Format with Proc Report';&lt;BR /&gt;
proc report data=makedata nowd ;&lt;BR /&gt;
  column name grp numvar;&lt;BR /&gt;
  define name / display f=$namefmt.;&lt;BR /&gt;
  define grp / display f=$grpfmt.;&lt;BR /&gt;
  define numvar / sum f=nvfmt.;&lt;BR /&gt;
run;&lt;BR /&gt;
title;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 The first PROC REPORT does not use any format for the missing values, but the second PROC REPORT does use a format to put "Not Applicable" in the columns with missing values.&lt;BR /&gt;
 &lt;BR /&gt;
If you are having trouble with a specific type of data or with PROC REPORT or your PROC SQL, your best bet might be to contact Tech Support because they can look at your data and at your code and help you resolve the problem.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
  &lt;BR /&gt;
Results from the Proc Reports:&lt;BR /&gt;
[pre]&lt;BR /&gt;
Simple Proc Report&lt;BR /&gt;
&lt;BR /&gt;
  name      grp          numvar&lt;BR /&gt;
  allan     aaa              10&lt;BR /&gt;
  bob                        20&lt;BR /&gt;
  carl      ccc              30&lt;BR /&gt;
  dave      ddd               .&lt;BR /&gt;
            eee              50&lt;BR /&gt;
                                       &lt;BR /&gt;
                                    &lt;BR /&gt;
Format with Proc Report&lt;BR /&gt;
&lt;BR /&gt;
  name            grp                     numvar&lt;BR /&gt;
  allan           aaa                         10&lt;BR /&gt;
  bob             Not Applicable              20&lt;BR /&gt;
  carl            ccc                         30&lt;BR /&gt;
  dave            ddd             Not Applicable&lt;BR /&gt;
  Not Applicable  eee                         50&lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 21 Jun 2007 22:16:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3533#M1739</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-06-21T22:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3534#M1740</link>
      <description>This time, my bad.  I didn't tell you that I had defined a format as follows:&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
  picture reportdate other='%0m/%0d/%0Y' (datatype=datetime);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
And then used it in a Proc SQL as follows:&lt;BR /&gt;
&lt;BR /&gt;
	EMPLOYEE.CURRENT_HIRE_DATE FORMAT=REPORTDATE.,&lt;BR /&gt;
	EMPLOYEE.ORIGINAL_HIRE_DATE FORMAT=REPORTDATE.,&lt;BR /&gt;
	EMPLOYEE.ADJUSTED_SERVICE_DATE FORMAT=REPORTDATE.,&lt;BR /&gt;
	EMPLOYEE.TERMINATION_DATE FORMAT=REPORTDATE.,&lt;BR /&gt;
&lt;BR /&gt;
It's in my follow-on Proc Report, when there is nothing for the employee's termination date that I get a display of the word 'Error' if there is nothing for the employee's termination date.&lt;BR /&gt;
&lt;BR /&gt;
I defined my own date format because I did not see a MM/DD/YY format in SAS's date formats.  So....I'm thinking there might be something related to my date format definition that caused the "Error" to show when a field is empty.&lt;BR /&gt;
&lt;BR /&gt;
Any thoughts?</description>
      <pubDate>Fri, 22 Jun 2007 16:10:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3534#M1740</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-22T16:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3535#M1741</link>
      <description>Hi...Ah, that explains it. How about the mmddyy8. or mmddyy10. formats??? &lt;BR /&gt;
  &lt;BR /&gt;
Although picture formats are wonderful, I generally don't use OTHER as the way to format values because MISSING can fall into the OTHER category. If I were using a PICTURE format, I always code LOW-HIGH as the range instead of OTHER. &lt;BR /&gt;
&lt;BR /&gt;
  However, I would probably do this if I needed to have some string for missing values. The use of mmddyy10. in square brackets tells SAS to use the regular mmddyy10. format for any dates between the lowest date in the file up to an including 12/31/2007 -- then you can see how missing is handled versus a future date (handled with OTHER):&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc format;&lt;BR /&gt;
value bfmt low-'31Dec2007'd = [mmddyy10.]&lt;BR /&gt;
              . = 'Missing Date'&lt;BR /&gt;
            other='Future Date';&lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
      &lt;BR /&gt;
data testdate;&lt;BR /&gt;
infile datalines;&lt;BR /&gt;
input name $ bday : mmddyy10.;&lt;BR /&gt;
otherdate = bday;&lt;BR /&gt;
otherdate2 = bday;&lt;BR /&gt;
datalines;&lt;BR /&gt;
alan 12/31/2007&lt;BR /&gt;
bob 11/15/1984&lt;BR /&gt;
carl .&lt;BR /&gt;
dave 07/07/2016&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
     &lt;BR /&gt;
proc print data=testdate;&lt;BR /&gt;
format bday bfmt. otherdate mmddyy8.&lt;BR /&gt;
       otherdate2 worddate.;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
  &lt;BR /&gt;
When you run the code in an EG code node, you should be able to compare the column that uses the BFMT format versus the one that uses just mmddyy8. or worddate. format. If you used the following options statement:[pre]&lt;BR /&gt;
options missing = ' ';[/pre]&lt;BR /&gt;
you would not see a &lt;B&gt;.&lt;/B&gt; when the date was missing.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 22 Jun 2007 23:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3535#M1741</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-06-22T23:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3536#M1742</link>
      <description>And hello, again!  I tried the mmddyy8. and mmddyy10. formats, but all I got on my output screen was abunch of asterisks; with my picture definition, at least I could see actual dates.  Why would I get asterisks with the mmddyy8. or mmddyy10. formats?&lt;BR /&gt;
&lt;BR /&gt;
I used the OTHER based on samples I saw on the web.&lt;BR /&gt;
&lt;BR /&gt;
I'll play with your suggestion and see what happens.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again for your help and for your knowledge.</description>
      <pubDate>Mon, 25 Jun 2007 16:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3536#M1742</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-25T16:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3537#M1743</link>
      <description>Asterisks usually appear in a format when the value overflows the display capacity of the structure.&lt;BR /&gt;
&lt;BR /&gt;
I have a hunch you are using a date format with a datetime value.  Is that possible?&lt;BR /&gt;
&lt;BR /&gt;
Kind regards&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Tue, 26 Jun 2007 10:55:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3537#M1743</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-26T10:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3538#M1744</link>
      <description>dkvi,&lt;BR /&gt;
&lt;BR /&gt;
Yes, my date data comes in in a datetime value, however, shouldn't the MMDDYY8. or MMDDYY10. resolve that, so that all I see is something like 10/23/04 ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Tue, 26 Jun 2007 13:27:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3538#M1744</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-26T13:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3539#M1745</link>
      <description>No, as you can see in the output below, MMDDYY10. does NOT format a date/time number the way you want. However, there IS a function (DATEPART) you can use to extract the Date portion of a date/time number. Note how the unformatted value of TEMP is NOT the number of days since Jan 1, 1960, but is the number of seconds (I think) from Jan 1, 1960 -- so it's really NOT a date number that can be formatted with MMDDYY10 format.&lt;BR /&gt;
cynthia&lt;BR /&gt;
 &lt;BR /&gt;
[pre]&lt;BR /&gt;
data testdate;&lt;BR /&gt;
infile datalines;&lt;BR /&gt;
input name $ temp : datetime.;&lt;BR /&gt;
bday = datepart(temp);&lt;BR /&gt;
otherdate = datepart(temp);&lt;BR /&gt;
errdate = temp;&lt;BR /&gt;
datalines;&lt;BR /&gt;
alan 31DEC2007:02:35:43&lt;BR /&gt;
bob 15NOV1984:08:55:41&lt;BR /&gt;
carl .&lt;BR /&gt;
dave 07JUL2016:10:45:31&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
   &lt;BR /&gt;
proc print data=testdate;&lt;BR /&gt;
format bday bfmt. otherdate mmddyy10.&lt;BR /&gt;
       errdate mmddyy10.;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
The output&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
Obs    name       temp           bday         otherdate       errdate&lt;BR /&gt;
&lt;BR /&gt;
 1     alan    1514687743    12/31/2007      12/31/2007    **********&lt;BR /&gt;
 2     bob      784976141    11/15/1984      11/15/1984    **********&lt;BR /&gt;
 3     carl             .    Missing Date             .             .&lt;BR /&gt;
 4     dave    1783507531    Future Date     07/07/2016    **********&lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 26 Jun 2007 14:08:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3539#M1745</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-06-26T14:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3540#M1746</link>
      <description>Interesting..... I think I understand.  So, you can't go directly from a SAS-format date into a date format.  This gets deeper and deeper!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  OK... I'll play around with DATEPART also.  Thanks for the information!!!</description>
      <pubDate>Tue, 26 Jun 2007 15:14:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3540#M1746</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-26T15:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3541#M1747</link>
      <description>Not exactly --- the WHOLE point is that a SAS date/time value is different from a SAS date value. There ARE formats that work with SAS date/time values, but they do not use the mm/dd/yy form for representing dates.&lt;BR /&gt;
 &lt;BR /&gt;
So even though a SAS date/time value represents BOTH the date and the time, the number that's stored is the number of SECONDS since Jan 1, 1960; whereas, the SAS date value is the number of DAYS since Jan 1, 1960. So MMDDYY format works on DATE values, NOT date/time values.&lt;BR /&gt;
 &lt;BR /&gt;
That's why you need the DATEPART function -- to EXTRACT the number of DAYS from the number of SECONDS.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 26 Jun 2007 15:24:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3541#M1747</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-06-26T15:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checkiong for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3542#M1748</link>
      <description>OK....I am beginning to understand.  I think part of my confusion has come from having worked with Microsoft products, like Access, where date fields containing Dates / Times could be broken out in one step to date formats.&lt;BR /&gt;
&lt;BR /&gt;
It's starting to make sense....thanks!</description>
      <pubDate>Tue, 26 Jun 2007 17:08:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3542#M1748</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-26T17:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checking for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3543#M1749</link>
      <description>I think just about every data storage package uses an epoch for calculating dates.  SAS is 1960, Microsoft is usually 1900. However, be aware that not even M$ is consistent since the date time values stored on physical file headers in Windows represent the number of milliseconds since Jan 1 1900.&lt;BR /&gt;
&lt;BR /&gt;
For Excel, Access and SQLServer, M$ also store date times as days and decimal parts of days, so the time 8am is actually 0.33333333.  Try that for yourself in an Excel sheet, and change the format as needed to see the real values and the representation.&lt;BR /&gt;
&lt;BR /&gt;
Frankly, although it is tiresome when you forget and try to format a DateTime as a date, it was a lesson I learned early and has been very helpful.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I'm also going to disagree very slightly with Cynthia, but in the nicest possible way.  If you use the DateTime9. format for a datetime you will get what appears to be a Date9. appearance.  This is because SAS formats are terribly clever and drop redundant pieces of information if there is insufficient space to display them.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Wed, 27 Jun 2007 03:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3543#M1749</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-27T03:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checking for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3544#M1750</link>
      <description>Hi, David...I meant to put that in my code as a format on the TEMP variable and a neuron failed to fire. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
Thanks! &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 27 Jun 2007 11:07:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3544#M1750</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-06-27T11:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checking for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3545#M1751</link>
      <description>I agree.... this has been a lesson learned and has been very helpful.  And you and Cynthia have been extremely helpful.  I just love vertical learning curves!</description>
      <pubDate>Wed, 27 Jun 2007 14:35:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3545#M1751</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-27T14:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checking for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3546#M1752</link>
      <description>Very interesting and useful discussion but I think one of the key things that David wrote here is "If you use the DateTime9. format for a datetime you will get what &lt;B&gt;appears to be a Date9. appearance&lt;/B&gt;.".&lt;BR /&gt;
&lt;BR /&gt;
A formatted value is just that. The appearance of a data value in a manner that we can understand. The underlying value is still the number of seconds not days. Just a pointer when it comes to manipulating dates and date/times.&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Lawrence</description>
      <pubDate>Thu, 28 Jun 2007 14:10:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3546#M1752</guid>
      <dc:creator>LawrenceHW</dc:creator>
      <dc:date>2007-06-28T14:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: What is the format in PROC SQL for checking for blank data?</title>
      <link>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3547#M1753</link>
      <description>It's almost the most misunderstood concept in SAS programming I think.  I have lost count of the number of times someone has asked "How do I change the number so it has n decimal places?"&lt;BR /&gt;
&lt;BR /&gt;
I always try to open a discussion on formats with a caveat like "it doesn't change the data, it simply adds lipstick so it looks familiar".  Actually, if I thought most people would understand I'd refer to a mask and Lon Chaney appearing as Quasimodo, but that probably dates me a little &lt;GRIN&gt;  You still have the fine actor underneath, but he looks a little different.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards&lt;BR /&gt;
&lt;BR /&gt;
David&lt;/GRIN&gt;</description>
      <pubDate>Fri, 29 Jun 2007 09:54:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/What-is-the-format-in-PROC-SQL-for-checkiong-for-blank-data/m-p/3547#M1753</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-29T09:54:41Z</dc:date>
    </item>
  </channel>
</rss>

