<?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 function to use to read record and print them in col wise in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-function-to-use-to-read-record-and-print-them-in-col-wise/m-p/497002#M131586</link>
    <description>INPUT statement is what you need. &lt;BR /&gt;See the documentation for several examples on how to read multi-line records into a single observation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=basess&amp;amp;docsetTarget=p0s16wvzu0z9q7n0zmxia30s6qyc.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=basess&amp;amp;docsetTarget=p0s16wvzu0z9q7n0zmxia30s6qyc.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;</description>
    <pubDate>Wed, 19 Sep 2018 15:01:04 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-09-19T15:01:04Z</dc:date>
    <item>
      <title>What function to use to read record and print them in col wise</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-to-use-to-read-record-and-print-them-in-col-wise/m-p/496981#M131574</link>
      <description>&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am quite new to SAS . Just started learning it&amp;nbsp;. Please suggest what function best suits here .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Input File :&lt;BR /&gt;Total Exceptions Were Found&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Exceptions Were ignored&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;&lt;BR /&gt;Total Violations Were Found&lt;BR /&gt;============================================&lt;BR /&gt;Object&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : PLATFORM&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;&lt;BR /&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : SOFTWARE&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Attribute&amp;nbsp; : LISENCE&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Should Be&amp;nbsp; : INTACT&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Actual&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : INTACT&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;&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;BR /&gt;Standard&amp;nbsp;&amp;nbsp; : NO&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;&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;BR /&gt;===========================================&lt;BR /&gt;===========================================&lt;BR /&gt;Object&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MACHINE&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : HARDWARE&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Attribute&amp;nbsp; : CAPACITY&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Should Be&amp;nbsp; : AMPLE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Actual&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : UNDER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Baseline&amp;nbsp;&amp;nbsp; : YES&lt;/P&gt;&lt;P&gt;For the above Input file , how can I print it in Colum wise&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;Object Type Attribute Should Be Actual Standard&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;PLATFORM SOFTWARE LISENCE INTACT INTACT NO&lt;BR /&gt;MACHINE HARDWARE CAPACITY AMPLE UNDER YES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use the deliminartor but its not giving me the desired output .&lt;BR /&gt;Please suggest what function to use .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 14:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-to-use-to-read-record-and-print-them-in-col-wise/m-p/496981#M131574</guid>
      <dc:creator>sams54156</dc:creator>
      <dc:date>2018-09-19T14:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to read record and print them in col wise</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-to-use-to-read-record-and-print-them-in-col-wise/m-p/497002#M131586</link>
      <description>INPUT statement is what you need. &lt;BR /&gt;See the documentation for several examples on how to read multi-line records into a single observation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=basess&amp;amp;docsetTarget=p0s16wvzu0z9q7n0zmxia30s6qyc.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=basess&amp;amp;docsetTarget=p0s16wvzu0z9q7n0zmxia30s6qyc.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;</description>
      <pubDate>Wed, 19 Sep 2018 15:01:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-to-use-to-read-record-and-print-them-in-col-wise/m-p/497002#M131586</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-19T15:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to read record and print them in col wise</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-to-use-to-read-record-and-print-them-in-col-wise/m-p/497023#M131599</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/234505"&gt;@sams54156&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am quite new to SAS . Just started learning it&amp;nbsp;. Please suggest what function best suits here .&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Input File :&lt;BR /&gt;Total Exceptions Were Found&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Exceptions Were ignored&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;&lt;BR /&gt;Total Violations Were Found&lt;BR /&gt;============================================&lt;BR /&gt;Object&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : PLATFORM&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;&lt;BR /&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : SOFTWARE&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Attribute&amp;nbsp; : LISENCE&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Should Be&amp;nbsp; : INTACT&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Actual&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : INTACT&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;&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;BR /&gt;Standard&amp;nbsp;&amp;nbsp; : NO&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;&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;BR /&gt;===========================================&lt;BR /&gt;===========================================&lt;BR /&gt;Object&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MACHINE&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : HARDWARE&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Attribute&amp;nbsp; : CAPACITY&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Should Be&amp;nbsp; : AMPLE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Actual&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : UNDER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Baseline&amp;nbsp;&amp;nbsp; : YES&lt;/P&gt;
&lt;P&gt;For the above Input file , how can I print it in Colum wise&lt;/P&gt;
&lt;P&gt;Example :&lt;/P&gt;
&lt;P&gt;Object Type Attribute Should Be Actual Standard&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;PLATFORM SOFTWARE LISENCE INTACT INTACT NO&lt;BR /&gt;MACHINE HARDWARE CAPACITY AMPLE UNDER YES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to use the deliminartor but its not giving me the desired output .&lt;BR /&gt;Please suggest what function to use .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your main issue is that the format you show for your file is a moderately (or worse depending on how regular the content is) complex file.&lt;/P&gt;
&lt;P&gt;The basic SAS input statement for a delimited file expects all variables to be on a single row in the data. When you have values on multiple lines in a data set then you have to provide instructions on which lines to read which values.&lt;/P&gt;
&lt;P&gt;Further complicating things is that each block of content (I am assuming as you did not say) appearing between the lines of&lt;/P&gt;
&lt;P&gt;============================================&lt;/P&gt;
&lt;P&gt;have different actual content. First you appear to have a header section that starts with the "Total Exceptions". You don't indicate if that should be kept.&lt;/P&gt;
&lt;P&gt;Second you would want to read data only from lines after the divider.&lt;/P&gt;
&lt;P&gt;Third is varying content.&lt;/P&gt;
&lt;P&gt;The first block has Standard&amp;nbsp;&amp;nbsp; : NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;but the second block has Baseline&amp;nbsp;&amp;nbsp; : YES . So "standard" does not seem to actually appear in the second block.&lt;/P&gt;
&lt;P&gt;And also it appears that the number of divider lines may be different inside the file.&lt;/P&gt;
&lt;P&gt;If every "record" has exactly 6 lines and you want the 6th line always be in a variable named Standard that is possible. IF not then a more complete description of the file and the desired result is going to be needed.&lt;/P&gt;
&lt;P&gt;It is a good idea to post example input text in a code box opened with the forum {I} icon because the message windows here will "clean up" spaces and so the text you paste may not actually be what your file looks like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may get you started:&lt;/P&gt;
&lt;PRE&gt;data work.raw;
   infile datalines truncover;
   length Object Type Attribute Should_Be Actual Standard  dummy $ 15.;
   input @;
   if _infile_ =: "==============" then do;
      /* go to next line*/
      input;
      input @':' object
           /@':' type
           /@':' Attribute
           /@':' Should_Be
           /@':' Actual
           /@':' Standard
           / dummy
      ;
      output;
   end;
   else input;
   drop dummy;
datalines;
Total Exceptions Were Found         
Exceptions Were ignored              
Total Violations Were Found
============================================
Object     : PLATFORM              
Type       : SOFTWARE                       
Attribute  : LISENCE                      
Should Be  : INTACT                       
Actual     : INTACT                             
Standard   : NO                            
===========================================
===========================================
Object     : MACHINE                   
Type       : HARDWARE                      
Attribute  : CAPACITY                      
Should Be  : AMPLE          
Actual     : UNDER      
Baseline   : YES
===========================================
;
run;&lt;/PRE&gt;
&lt;P&gt;The datalines is to simulate you input file. You would not include that. Instead the INFILE would point to your file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The length statement sets the variables as character and provides an expected length for them. If you have a better idea of the actual content for each variable you can customize the length. Note that your variable "Should be" is not a valid SAS variable name so I place and _ instead of the space. Dummy is a variable to read the following =========== divider line.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/141062"&gt;@the&lt;/a&gt; first input @; brings the current line of the file into a buffer to examine with the SAS special variable _infile_.&lt;/P&gt;
&lt;P&gt;If it starts with a number of ===== characters (the =&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;: &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;compares the start of a string) then that is a divider line. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26630"&gt;@AT&lt;/a&gt; which point we use one input; to advance to the next line that should have data. The @':' instruction on the input line says to advance the read pointer in the file to that position to start reading data. The / say "go to the next line". The / dummy says to read the following divider line.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;Some caveats: If there are not exactly the same number of rows of data in the same order each time this is not going to work.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;This expects two rows of ========== between the blocks of data and that the last record has a =========== following it.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;If the value of any of these variables has a space in it then only the first word will be read.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;Proc print would be the way to display the results if that is what you meant by print them column wise.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 15:20:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-to-use-to-read-record-and-print-them-in-col-wise/m-p/497023#M131599</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-19T15:20:06Z</dc:date>
    </item>
  </channel>
</rss>

