<?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: Have a SAS file with 2 numeric variables that can have missing values..how to chg to Char for ou in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Have-a-SAS-file-with-2-numeric-variables-that-can-have-missing/m-p/318972#M69953</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;Options missing=' ';&amp;nbsp; &amp;lt;= there is a space inbetween the single quotes&lt;/P&gt;
&lt;P&gt;before the data step.&lt;/P&gt;
&lt;P&gt;Then all those conversions of missing values will receive a blank instead of a .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should reset back to Options missing='.'; afterward.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2016 15:51:44 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-12-14T15:51:44Z</dc:date>
    <item>
      <title>Have a SAS file with 2 numeric variables that can have missing values..how to chg to Char for output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Have-a-SAS-file-with-2-numeric-variables-that-can-have-missing/m-p/318969#M69952</link>
      <description>&lt;P&gt;We read multiple a SAS files with 2 numeric variables that can have missing values. We output selective fields to a CSV which is downloaded from the mainframe to a server. Server software has a problem with the Period(.) when the data is missing as it's expecting either a number or 2 consecutive delimiters(a comma in this case.) Varibles REALSIZE and VIRTSIZE are both numeric. Code is below and sample output below code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA IPLOUT; &lt;BR /&gt; SET IPLDATA; &lt;BR /&gt; date2=put(ipldate,mmddyys10.); &lt;BR /&gt; time2=put(ipltime,time11.2); &lt;BR /&gt; downtm2=put(downtm,time11.2); &lt;BR /&gt; keyind=compress(system||ipldate||ipltime); &lt;BR /&gt; delim=","; &lt;BR /&gt; recout= system||delim||custid||delim||date2||delim||time2 &lt;BR /&gt; ||delim||downtm2||delim||realsize||delim||virtsize &lt;BR /&gt; ||delim||product||delim||sysplex||delim||keyind &lt;BR /&gt; ; &lt;BR /&gt; recout=compress(recout); &lt;BR /&gt; FILE IPLPOUT NOTITLES; &lt;BR /&gt; put recout; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;AXX1,TE,11/06/2016,16:11:56.86,0:00:00.03&lt;STRONG&gt;&lt;FONT color="#008000"&gt;,.,.,,,&lt;/FONT&gt;&lt;/STRONG&gt;ADTE2076458316.86 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AXX1,TE,11/06/2016,17:56:58.08,0:00:00.03&lt;STRONG&gt;,.,.,,,&lt;/STRONG&gt;ADTE2076464618.08 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AXX2,TP,11/06/2016,22:49:39.93,0:00:00.12&lt;STRONG&gt;,.,.,,&lt;/STRONG&gt;,ADTP2076482179.93 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AXX2,TP,11/20/2016,0:55:26.42,0:00:00.14,&lt;STRONG&gt;5242880,2097152&lt;/STRONG&gt;,SP7.2.1,ZZPLEX1,ADTP207&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 15:46:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Have-a-SAS-file-with-2-numeric-variables-that-can-have-missing/m-p/318969#M69952</guid>
      <dc:creator>DONBSR</dc:creator>
      <dc:date>2016-12-14T15:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Have a SAS file with 2 numeric variables that can have missing values..how to chg to Char for ou</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Have-a-SAS-file-with-2-numeric-variables-that-can-have-missing/m-p/318972#M69953</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;Options missing=' ';&amp;nbsp; &amp;lt;= there is a space inbetween the single quotes&lt;/P&gt;
&lt;P&gt;before the data step.&lt;/P&gt;
&lt;P&gt;Then all those conversions of missing values will receive a blank instead of a .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should reset back to Options missing='.'; afterward.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 15:51:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Have-a-SAS-file-with-2-numeric-variables-that-can-have-missing/m-p/318972#M69953</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-14T15:51:44Z</dc:date>
    </item>
  </channel>
</rss>

