<?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 Printing SAS data in Paragraph format in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-SAS-data-in-Paragraph-format/m-p/23597#M4054</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have a sas data as below&lt;BR /&gt;
Name     Age       Coll&lt;BR /&gt;
Mohan    25         Anna&lt;BR /&gt;
xxxxx     33         xxxxx&lt;BR /&gt;
vnsjdn    56        DNSKN&lt;BR /&gt;
&lt;BR /&gt;
I want the above data to be printed in below format&lt;BR /&gt;
&lt;BR /&gt;
Name: Mohan&lt;BR /&gt;
Age : 25&lt;BR /&gt;
Coll: Anna&lt;BR /&gt;
&lt;BR /&gt;
Name:xxxxx&lt;BR /&gt;
Age:33&lt;BR /&gt;
Coll:xxxxx&lt;BR /&gt;
&lt;BR /&gt;
Name:&lt;BR /&gt;
Age:&lt;BR /&gt;
Coll:&lt;BR /&gt;
&lt;BR /&gt;
Could any one please help me to get this accomplished?</description>
    <pubDate>Tue, 18 May 2010 08:51:35 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-05-18T08:51:35Z</dc:date>
    <item>
      <title>Printing SAS data in Paragraph format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-SAS-data-in-Paragraph-format/m-p/23597#M4054</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have a sas data as below&lt;BR /&gt;
Name     Age       Coll&lt;BR /&gt;
Mohan    25         Anna&lt;BR /&gt;
xxxxx     33         xxxxx&lt;BR /&gt;
vnsjdn    56        DNSKN&lt;BR /&gt;
&lt;BR /&gt;
I want the above data to be printed in below format&lt;BR /&gt;
&lt;BR /&gt;
Name: Mohan&lt;BR /&gt;
Age : 25&lt;BR /&gt;
Coll: Anna&lt;BR /&gt;
&lt;BR /&gt;
Name:xxxxx&lt;BR /&gt;
Age:33&lt;BR /&gt;
Coll:xxxxx&lt;BR /&gt;
&lt;BR /&gt;
Name:&lt;BR /&gt;
Age:&lt;BR /&gt;
Coll:&lt;BR /&gt;
&lt;BR /&gt;
Could any one please help me to get this accomplished?</description>
      <pubDate>Tue, 18 May 2010 08:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-SAS-data-in-Paragraph-format/m-p/23597#M4054</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-18T08:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Printing SAS data in Paragraph format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-SAS-data-in-Paragraph-format/m-p/23598#M4055</link>
      <description>proc forms&lt;BR /&gt;
or[pre]data _null_ ;&lt;BR /&gt;
  file 'your output.file.txt' ;&lt;BR /&gt;
  set your_data;&lt;BR /&gt;
  put 'name :' +1 name / 'age :' +1 age /  'Coll :' +1 coll ;&lt;BR /&gt;
run ;[/pre]It could be simpler if you accept '=' instead of ' : ' [pre]data _null_ ;&lt;BR /&gt;
   file 'your.equal.file.txt' ;&lt;BR /&gt;
   set your_data ;&lt;BR /&gt;
   put (name age coll) (/=) ; * &amp;lt;-- &amp;gt; / for newline =for "named output " ;&lt;BR /&gt;
run ;[/pre]&lt;BR /&gt;
peterC</description>
      <pubDate>Tue, 18 May 2010 13:24:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-SAS-data-in-Paragraph-format/m-p/23598#M4055</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-05-18T13:24:36Z</dc:date>
    </item>
  </channel>
</rss>

