<?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: Need a report from a file with description. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500114#M133138</link>
    <description>Can someone help me with the code so that I get the required report?</description>
    <pubDate>Sat, 29 Sep 2018 17:33:57 GMT</pubDate>
    <dc:creator>Best</dc:creator>
    <dc:date>2018-09-29T17:33:57Z</dc:date>
    <item>
      <title>Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500088#M133122</link>
      <description>&lt;P&gt;i write SAS code in IBM mainframe, i have to make out a report from the input file which is generally in Gov00 version.&lt;/P&gt;&lt;P&gt;this file has multiple contributions (in dollars) of the participant. like contribution type A , contribution type , contribution type c, i have to write a code &amp;nbsp;through which i can pull out the detials of each contribution, like how many contribution is of type A and then their basic details like name , SSN, contribution type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just give you the layout of the file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Please guide me on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;infile a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;input&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159673"&gt;@001&lt;/a&gt; &amp;nbsp;SSN &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:09.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;@013 Date &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; &amp;nbsp; :YYYYMMDD10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;@26 Contribution A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:15.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/73381"&gt;@42&lt;/a&gt; contribtuion B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;15.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29008"&gt;@56&lt;/a&gt; contribution c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:15&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;output&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SSN&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Contribution A&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;ContribuionB&lt;/TD&gt;&lt;TD&gt;ContributionC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1.43E+08&lt;/TD&gt;&lt;TD&gt;9/3/2018&lt;/TD&gt;&lt;TD&gt;17.6&lt;/TD&gt;&lt;TD&gt;13.2&lt;/TD&gt;&lt;TD&gt;16.3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3.57E+08&lt;/TD&gt;&lt;TD&gt;9/3/2018&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;13.5&lt;/TD&gt;&lt;TD&gt;14.6&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1.23E+08&lt;/TD&gt;&lt;TD&gt;9/3/2018&lt;/TD&gt;&lt;TD&gt;14.5&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;17.2&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4.59E+08&lt;/TD&gt;&lt;TD&gt;9/3/2018&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1.37E+08&lt;/TD&gt;&lt;TD&gt;9/3/2018&lt;/TD&gt;&lt;TD&gt;11.1&lt;/TD&gt;&lt;TD&gt;12.3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7.86E+08&lt;/TD&gt;&lt;TD&gt;9/3/2018&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;15.5&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;any help and guidance would be highly appreciable.&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>Sat, 29 Sep 2018 11:49:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500088#M133122</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-09-29T11:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500096#M133130</link>
      <description>&lt;P&gt;A few ideas to consider ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, don't use tools that you don't understand.&amp;nbsp; I would bet real money that you don't know what a colon means.&amp;nbsp; (In fact, I would bet that you understand very little of the INPUT statement and should take some time to try to understand how to read in a variable.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second, SSN should be a character field, not a numeric field.&amp;nbsp; You are never going to add SSNs together or find the mean value of SSN.&amp;nbsp; It represents a category, and thus should be character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Third, variable names cannot contain spaces (unless you introduce complications to the program that make it clumsy to work with).&amp;nbsp; So Contribution A is illegal, but Contribution_A would be perfectly fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fourth, pay attention to the details.&amp;nbsp; If Contribution_A starts at column 26 and occupies 15 characters, Contribution B should begin at column 41, not column 42.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a rewritten INPUT statement to illustrate:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;input&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159673" target="_blank"&gt;@001&lt;/A&gt;&amp;nbsp;&amp;nbsp;SSN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ &lt;/SPAN&gt;&lt;SPAN&gt;09.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;@013 Date&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; &amp;nbsp; &amp;nbsp;YYYYMMDD10.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;@26 Contribution_A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/73381" target="_blank"&gt;@4&lt;/A&gt;1&amp;nbsp;contribtuion_B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29008" target="_blank"&gt;@56&lt;/A&gt;&amp;nbsp;contribution_c&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;format date yymmdd10.;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 12:58:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500096#M133130</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-09-29T12:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500103#M133132</link>
      <description>Thanks for correcting me, can you now tell me how I can get the desired results,please?</description>
      <pubDate>Sat, 29 Sep 2018 14:42:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500103#M133132</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-09-29T14:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500104#M133133</link>
      <description>Also please help me understand what colon means</description>
      <pubDate>Sat, 29 Sep 2018 14:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500104#M133133</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-09-29T14:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500111#M133135</link>
      <description>&lt;P&gt;A colon concept&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi26/p073-26.pdf" target="_self"&gt;http://www2.sas.com/proceedings/sugi26/p073-26.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find that if I do a search on things like SAS colon concept googol retrieve links such as the above link.&amp;nbsp; This was the first returned ULR in my list that googol fetched for me. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the same searching concept also assist me when I need to finding out about how to use SAS proc sql or SAS proc transpose.&amp;nbsp; I find that including SAS to start my search retrieves ULRs related to SAS and helps exclude other programing languages in the first set of search results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 16:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500111#M133135</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-09-29T16:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500114#M133138</link>
      <description>Can someone help me with the code so that I get the required report?</description>
      <pubDate>Sat, 29 Sep 2018 17:33:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500114#M133138</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-09-29T17:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500128#M133144</link>
      <description>&lt;P&gt;What is the required report?&amp;nbsp; Do you really want to report SSNs in scientific notation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how to run a basic PROC PRINT?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you want to shift the decimal point in the numbers, here's a small change to the earlier suggestion:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;input&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159673" target="_blank"&gt;@001&lt;/A&gt;&amp;nbsp;&amp;nbsp;SSN&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;/SPAN&gt;&lt;SPAN&gt;09.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;@013 Date&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; &amp;nbsp; &amp;nbsp;YYYYMMDD10.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;@26 Contribution_A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15.&lt;FONT color="#FF0000"&gt;1&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/73381" target="_blank"&gt;@4&lt;/A&gt;1&amp;nbsp;contribtuion_B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15.&lt;FONT color="#FF0000"&gt;1&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29008" target="_blank"&gt;@56&lt;/A&gt;&amp;nbsp;contribution_c&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15.&lt;FONT color="#FF0000"&gt;1&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;format date yymmdd10.;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But how are you expecting to accomplish your objective, when you don't know how to read in data and you don't know how to produce any type of a report and you don't even tell us what the report is supposed to look like?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 22:51:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500128#M133144</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-09-29T22:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500131#M133145</link>
      <description>&lt;P&gt;RE 15386516, Urgent:&amp;nbsp; Can I make a suggestion if those are real SSN's in your sample you better remove those numbers due to &lt;A href="https://www.hhs.gov/hipaa/for-professionals/privacy/laws-regulations/index.html" target="_self"&gt;HIPAA&lt;/A&gt; rules.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all you don't share SSN's even in examples.&amp;nbsp; You must protect confidential information.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.hhs.gov/hipaa/for-professionals/privacy/laws-regulations/index.html" target="_self"&gt;https://www.hhs.gov/hipaa/for-professionals/privacy/laws-regulations/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;HHS and your employer may be in jeopardy if you are sharing those data information.&amp;nbsp; &lt;A href="https://oig.hhs.gov/" target="_self"&gt;HHS fronds on such action&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second if you on a IBM mainframe working with GOV files you should have already know the above rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Third if you don't know those rules you should have already signed a&lt;A href="https://www.hhs.gov/hipaa/for-professionals/privacy/guidance/incidental-uses-and-disclosures/index.html?language=en" target="_self"&gt; none disclosure agreement &lt;/A&gt;with your employer before you could have started working with GOV files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fourth of all, help those coming behind you by know what you were hired for, if your statements are true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Know your data.&amp;nbsp; Know your obligation related to those data.&amp;nbsp; Know how to mask and provide others knowledge that those SSN's are not true and have been masked or replaced to represent your needs and are not true SSN's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sharing of data, rules, forms, GOV.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Sep 2018 00:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500131#M133145</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-09-30T00:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500134#M133146</link>
      <description>First of all from Gov I mean GDG version and this is the dummy data</description>
      <pubDate>Sun, 30 Sep 2018 02:33:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500134#M133146</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-09-30T02:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500140#M133151</link>
      <description>No I don’t want the report in scientific notation , it is just ssn while copying from excel may be it looks like in not the right format.&lt;BR /&gt;&lt;BR /&gt;What I want a report which has all the details of the ssn along with contributions and date</description>
      <pubDate>Sun, 30 Sep 2018 03:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500140#M133151</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-09-30T03:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500166#M133167</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/237014"&gt;@Best&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;No I don’t want the report in scientific notation , it is just ssn while copying from excel&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's where your problem starts. The Excel file format is utter crap for data interchange.&lt;/P&gt;
&lt;P&gt;It forces SAS to make guesses about the data structure, depending on the contained data. Since it's quite hard to tell Excel that a 9-digit string is a&amp;nbsp;&lt;EM&gt;string&lt;/EM&gt; and not a number, you end up with faulty attributes in your dataset.&lt;/P&gt;
&lt;P&gt;I'm actually surprised that someone working on a mainframe uses such files at all.&lt;/P&gt;
&lt;P&gt;Have the data sent to you in a usable format (csv or fixed-width colums), and read that with a data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also see Maxims 22, 27, 31.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Sep 2018 10:10:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500166#M133167</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-09-30T10:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500171#M133170</link>
      <description>I have attached the input file which has got fixed attributes, it has been attached in the txt format, please see the attachment and how the output should look like I have also mentioned that, please suggest the code.</description>
      <pubDate>Sun, 30 Sep 2018 12:54:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500171#M133170</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-09-30T12:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500172#M133171</link>
      <description>We received the data in fixed formats</description>
      <pubDate>Sun, 30 Sep 2018 12:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500172#M133171</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-09-30T12:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500280#M133209</link>
      <description>&lt;P&gt;Taking the text from your posted file, I ran this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
input
  @01 ssn $9.
  @13 date yymmdd8.
  @26 contribution_a 15.
  @41 contribution_b 15.
  @56 contribution_c 15.
;
format
  date yymmddd10.
  contribution_a
  contribution_b
  contribution_c
    15.
;
datalines;
1425637560002018091200000000000000000176000000000000132000000000000163000000000000000000000000000000000000000000000000000
3568921370002018091200000000000000000000000000000000135000000000000146000000000000000000000000000000000000000000000000000
1234578900002018091200000000000000000145000000000000000000000000000172000000000000000000000000000000000000000000000000000
4587961230002018091200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1369785230002018091200000011100000000111000000000000123000000000000000000000000000000000000000000000000000000000000000000
7856391230002018091200000000000000000000000000000000000000000000000155000000000000000000000000000000000000000000000000000
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;character informat for ssn&lt;/LI&gt;
&lt;LI&gt;yymmdd8. informat for date (length 10 will cause data errors)&lt;/LI&gt;
&lt;LI&gt;proper position for contribution_b&lt;/LI&gt;
&lt;LI&gt;proper SAS names (no blanks)&lt;/LI&gt;
&lt;LI&gt;display formats for the date and contribution_ variables&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 01 Oct 2018 07:51:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/500280#M133209</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-01T07:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501077#M133555</link>
      <description>Can anyone help me on this?</description>
      <pubDate>Wed, 03 Oct 2018 10:59:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501077#M133555</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-10-03T10:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501079#M133557</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/237014"&gt;@Best&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Can anyone help me on this?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You already received &lt;U&gt;working&lt;/U&gt; code from me. Did you try it?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 11:06:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501079#M133557</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-03T11:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501335#M133658</link>
      <description>Anyone has the solution of this problem</description>
      <pubDate>Thu, 04 Oct 2018 05:10:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501335#M133658</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-10-04T05:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501338#M133659</link>
      <description>&lt;P&gt;Since you refuse to give use answers to &lt;EM&gt;our&lt;/EM&gt; questions, how should we help you?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/237014"&gt;@Best&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Anyone has the solution of this problem&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 05:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501338#M133659</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-04T05:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501345#M133664</link>
      <description>Please let me know the code so that we can get the desired output</description>
      <pubDate>Thu, 04 Oct 2018 06:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501345#M133664</guid>
      <dc:creator>Best</dc:creator>
      <dc:date>2018-10-04T06:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need a report from a file with description.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501347#M133665</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/237014"&gt;@Best&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Please let me know the code so that we can get the desired output&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Read my post from Monday.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:36:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-a-report-from-a-file-with-description/m-p/501347#M133665</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-04T06:36:31Z</dc:date>
    </item>
  </channel>
</rss>

