<?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>silasskovsbo Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>silasskovsbo Tracker</description>
    <pubDate>Tue, 12 May 2026 02:25:52 GMT</pubDate>
    <dc:date>2026-05-12T02:25:52Z</dc:date>
    <item>
      <title>Adding rows by condition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Adding-rows-by-condition/m-p/161537#M42044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data set(call DATASET) as this (about 100000 observations):&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Y&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Z&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;a&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;j&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;b&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;k&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;c&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;l&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;d&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;m&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;e&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;o&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;f&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;p&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;g&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;q&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;h&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;r&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;i&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;s&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; I would like to do is to add one blank row above each row where Z=1.&lt;/P&gt;&lt;P&gt;to get this data set&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Y&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Z&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;a&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;j&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;b&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;k&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;c&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;l&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;d&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;m&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;e&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;o&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;f&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;p&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;g&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;q&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;h&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;r&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;i&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;s&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help and I would be very thankfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Silas, London&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2014 16:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Adding-rows-by-condition/m-p/161537#M42044</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2014-03-30T16:03:29Z</dc:date>
    </item>
    <item>
      <title>Missing table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Missing-table/m-p/131367#M35712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I work with panel data (data sets with 5 mio. observations pr year and hundreds of variables) at University of Aarhus, department of Economics, and am looking for a program which can do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some variables are the all observations missing for some years.It would be of great use to have a program which could make a table with one observation for each year telling for all the variables whether this variable is fully missing for the specific year. Missing is defined as SAS standards for both numeric and characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of data&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Personidentifier&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Year&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Male&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Income&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1999&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1999&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And wanted table:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Year&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Male_miss&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Income_miss&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1999&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it makes sense and that somebody it able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best // Silas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 09:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Missing-table/m-p/131367#M35712</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2013-05-07T09:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Include and log</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Include-and-log/m-p/87540#M24975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the fast response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using /source2 helped a bit. Now I get the full log. But I do get the full log in one textile, logA.&lt;/P&gt;&lt;P&gt;This does not print two separate log-files for program A and one for program B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to get that? And can you make an exact example of it? Just with the mentioned data-statements above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 20:06:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Include-and-log/m-p/87540#M24975</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2013-03-25T20:06:38Z</dc:date>
    </item>
    <item>
      <title>Include and log</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Include-and-log/m-p/87537#M24972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all.. I have a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several programs, 'program1', 'program2' etc, which shall be run in row. So first 'program1' and then 'program2' etc. I run my programs in batch mode and I have used the %include-statement to run program2 after program1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I want to save specific logs for each program. &lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the programs are for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;Program 1:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data temp2;&lt;/P&gt;&lt;P&gt;set temp1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%include' program2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Program 2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data temp3;&lt;/P&gt;&lt;P&gt;set temp2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with proc printto and dm-statements but have no luck..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Best, Silas Skovsbo, Aarhus University, Denmark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 16:07:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Include-and-log/m-p/87537#M24972</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2013-03-25T16:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80515#M23183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved! Thank you very much all of you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very grateful! Best from Aarhus!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 15:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80515#M23183</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-12-06T15:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80511#M23179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, Anca &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is still one small question.. This program works perfectly for all character variables, but in my data set there are also a lot of numeric variables.These should not be affected, but with the SQL-program they are made to missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;have&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;x(cha) y(cha) z(num)&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;1z400 this1 3&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;4 45 4&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;7 . 5&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;8isnt 0900 6&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;want&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;1z400 this1 3&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;numb numb 4&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;numb . 5&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;8isnt numb 6&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;But now the result is:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;1z400 this1 .&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;numb numb .&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;numb . .&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;8isnt numb .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can get &lt;SPAN style="text-decoration: underline;"&gt;want&lt;/SPAN&gt;, I can just format the numeric observations with a format statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 13:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80511#M23179</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-12-03T13:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80509#M23177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect :smileygrin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I get the perfect results...&lt;/P&gt;&lt;P&gt;Thank you all very much for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 13:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80509#M23177</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-12-03T13:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80507#M23175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I do not understand what goes wrong.&lt;/P&gt;&lt;P&gt;I have attached my log when I try to run Arthur's program, can you see what goes wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 12:58:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80507#M23175</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-12-03T12:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80504#M23172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. This returns a table showing the type of each observation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need a format that does the below: (convert from have --&amp;gt; want)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;have&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1abc&lt;/P&gt;&lt;P&gt;bc2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1234&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;want&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1abc&lt;/P&gt;&lt;P&gt;bc2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;number&lt;/P&gt;&lt;P&gt;-----------------------------------&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;By this I will be able to find all the data in a data set with character variables which is not numbers.&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 12:00:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80504#M23172</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-12-03T12:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80502#M23170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for all the great commentaries. Unfortunate it is still not really doing.&lt;/P&gt;&lt;P&gt;The program needs to automatically do it on all character variables, since there are a huge amount of variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried your program, Arthur. But something seems to go wrong?? for the '&amp;amp;missing.' it says statement is not valid??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 10:08:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80502#M23170</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-12-03T10:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80498#M23166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Tom mentions, it is a problem if a value as '1ABC' is in the interval '0'-'9999999999' since I want only pure numbers to be formatted, so I am able to find all the observation which differ and therefor is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I then format all values which is a number, but not all other kinds of values, eg. '1ABC', '...', '&amp;nbsp;&amp;nbsp;&amp;nbsp; .' ?&lt;/P&gt;&lt;P&gt;Nondigit function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 15:38:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80498#M23166</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-11-26T15:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80494#M23162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;That solved the problem &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;so easy when you know the code!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 13:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80494#M23162</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-11-26T13:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80492#M23160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An example:&lt;/P&gt;&lt;P&gt;For two character variables,&amp;nbsp; X and Y:&lt;/P&gt;&lt;P&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . . .&lt;/P&gt;&lt;P&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&lt;/P&gt;&lt;P&gt;..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11&lt;/P&gt;&lt;P&gt;. .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 78&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I want a format which gives me:&lt;/P&gt;&lt;P&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;/P&gt;&lt;P&gt;numb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; numb&lt;/P&gt;&lt;P&gt;numb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;numb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . . .&lt;/P&gt;&lt;P&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; numb&lt;/P&gt;&lt;P&gt;..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; numb&lt;/P&gt;&lt;P&gt;. .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; numb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 13:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80492#M23160</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-11-26T13:35:30Z</dc:date>
    </item>
    <item>
      <title>proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80490#M23158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data set with character variables. The values for the variable are numbers, ' ' (empty, as character missings should be), but there are also other kinds of missing values (eg. '...', '.. .' '&amp;nbsp;&amp;nbsp; .')&lt;/P&gt;&lt;P&gt;I would like to make a format which for these different values take changes the values to : number --&amp;gt; 'numbers' and let all observations which are not numbers stay the same.&lt;/P&gt;&lt;P&gt;That will make it possible for me to find the different kind of missing values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understand and have a good idea to how to create this format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have questions, just ask&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Silas Skovsbo, Aarhus University, institute of economics.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 12:59:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format/m-p/80490#M23158</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-11-26T12:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: use of proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81847#M23578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for help everybody... Problem seems to be solved now! :smileygrin:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 13:54:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81847#M23578</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-10-08T13:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: use of proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81846#M23577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tom.&lt;/P&gt;&lt;P&gt;Your program does also work for me with the data set you make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But unfortunate - and I do not understand why - it still does not work when I use the program on my original data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To show my problem more specific below&amp;nbsp; I have uploaded my problemativ results:&lt;/P&gt;&lt;P&gt;This is the result when I do proc freq on original data&lt;/P&gt;&lt;P&gt;&lt;IMG alt="akasse_freq.png" class="jive-image" height="132" src="https://communities.sas.com/legacyfs/online/2604_akasse_freq.png" style="width: 310px; height: 132.85714285714286px;" width="310" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I use your format and I then have this result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="akasse_freq_format.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/2605_akasse_freq_format.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is clearly wrong.&lt;/P&gt;&lt;P&gt;Do you have any idea on how it fails. I need three categories 1: '.' 2: ' ' 3: 'other'&lt;/P&gt;&lt;P&gt;And it works perfect for me when I use your data set?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank again! Best / Silas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 10:39:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81846#M23577</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-10-08T10:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: use of proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81842#M23573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Btw the reason I need to do is because when the danish statstics publics new data there is the problem that for character-variables it happens that missing data for some years are given "." and for other years are given " ". So at the institute of Economy in Aarhus we need to find out what years missing data is given the one or the other value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 15:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81842#M23573</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-10-01T15:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: use of proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81841#M23572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dataset as shown in the my first question, just with a lot more observations and with a variable YEAR which shall not be affected by the format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I have tried this code inspired by you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;proc format;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp; value $cmiss&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; 'b.'='.'&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; ' '=' '&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; other='other'&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp; value nmiss&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; .=.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; other='other'&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;run;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;proc freq data=XXX;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tables year*A / nocol nopercent missing;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format _numeric_ nmiss. _character_ $cmiss. year;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;run;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;but this just gives me that A only consist of " " and "other", the "." is included in "other".&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;Do you understand? I would like to know how to continue after the proc format step given that I have a data set with the name XXXX and the three variables YEAR, A, B? &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;Best //&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 14:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81841#M23572</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-10-01T14:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: use of proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81839#M23570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Arthur.&lt;/P&gt;&lt;P&gt;Thanks for the fast answer, i see it works for&amp;nbsp; with your code, but unfortunate it still not works with my original.&lt;/P&gt;&lt;P&gt;I have a data set with the variables YEAR and AKASSE. AKASSE does have codes " ", "." and other numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I only use the proc format of yours I only get " " and "other" in my proc freq results and&amp;nbsp; "." are included in "other".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you understand?&lt;/P&gt;&lt;P&gt;So how can I use the proc format properly on the original data set? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again thanks! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 14:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81839#M23570</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-10-01T14:30:26Z</dc:date>
    </item>
    <item>
      <title>use of proc format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81837#M23568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have realised some strange problems with a command which should be quite simple, proc format. &lt;/P&gt;&lt;P&gt;The problem is as follows.&lt;/P&gt;&lt;P&gt;My data is like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;A$&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt; B&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;e&amp;nbsp;&amp;nbsp;&amp;nbsp; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have as seen above both missing data for the character variable, A$, shich is given by "." and " "&lt;/P&gt;&lt;P&gt;I want to use proc format to change the format so the data looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;A$&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt; B&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; other&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; other&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;other&amp;nbsp;&amp;nbsp;&amp;nbsp; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is because I then can make a proc freq which gives me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="51" style="border: 1px solid rgb(0, 0, 0); width: 330px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;.&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;other&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somebody who can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Silas, Aarhus University&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 13:26:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/use-of-proc-format/m-p/81837#M23568</guid>
      <dc:creator>silasskovsbo</dc:creator>
      <dc:date>2012-10-01T13:26:34Z</dc:date>
    </item>
  </channel>
</rss>

