<?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 Reading Mainframe file in DI Studio in UNIX in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Mainframe-file-in-DI-Studio-in-UNIX/m-p/27817#M3943</link>
    <description>I have a mainframe file as in the example below:&lt;BR /&gt;
123-4567890-12;2009-07-26;2009-07-26; &lt;BR /&gt;
123-0987654-32;2010-08-30;            &lt;BR /&gt;
234-5678901-23;2009-03-31;2009-12-29            &lt;BR /&gt;
345-6789012-34;2009-05-20;            &lt;BR /&gt;
456-7890123-45;2010-03-20;2009-09-15            &lt;BR /&gt;
567-8901234-56;2009-09-11;            &lt;BR /&gt;
.......&lt;BR /&gt;
.......&lt;BR /&gt;
I want to read it in DI Studio in UNIX but I am not getting the correct result. I am using the code as below. Can anyone help on this.&lt;BR /&gt;
&lt;BR /&gt;
data A; &lt;BR /&gt;
&lt;BR /&gt;
   infile '"&lt;DIRECOTRY&gt;/&lt;FILE&gt;"'&lt;BR /&gt;
          lrecl = 256&lt;BR /&gt;
          firstobs = 1&lt;BR /&gt;
	  missover&lt;BR /&gt;
	  RECFM = F;&lt;BR /&gt;
   &lt;BR /&gt;
   attrib ID length = $14 informat = $ebcdic14.; &lt;BR /&gt;
   attrib DT1 length = $10 informat = $ebcdic10.; &lt;BR /&gt;
   attrib DT2 length = $10 informat = $ebcdic10.; &lt;BR /&gt;
   &lt;BR /&gt;
   input @ 1 ID  $ebcdic14.&lt;BR /&gt;
          @ 16 DT1  $ebcdic10.&lt;BR /&gt;
          @ 27 DT2  $ebcdic10.; &lt;BR /&gt;
   &lt;BR /&gt;
run;&lt;/FILE&gt;&lt;/DIRECOTRY&gt;</description>
    <pubDate>Wed, 26 May 2010 22:04:40 GMT</pubDate>
    <dc:creator>Sarojkumar</dc:creator>
    <dc:date>2010-05-26T22:04:40Z</dc:date>
    <item>
      <title>Reading Mainframe file in DI Studio in UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Mainframe-file-in-DI-Studio-in-UNIX/m-p/27817#M3943</link>
      <description>I have a mainframe file as in the example below:&lt;BR /&gt;
123-4567890-12;2009-07-26;2009-07-26; &lt;BR /&gt;
123-0987654-32;2010-08-30;            &lt;BR /&gt;
234-5678901-23;2009-03-31;2009-12-29            &lt;BR /&gt;
345-6789012-34;2009-05-20;            &lt;BR /&gt;
456-7890123-45;2010-03-20;2009-09-15            &lt;BR /&gt;
567-8901234-56;2009-09-11;            &lt;BR /&gt;
.......&lt;BR /&gt;
.......&lt;BR /&gt;
I want to read it in DI Studio in UNIX but I am not getting the correct result. I am using the code as below. Can anyone help on this.&lt;BR /&gt;
&lt;BR /&gt;
data A; &lt;BR /&gt;
&lt;BR /&gt;
   infile '"&lt;DIRECOTRY&gt;/&lt;FILE&gt;"'&lt;BR /&gt;
          lrecl = 256&lt;BR /&gt;
          firstobs = 1&lt;BR /&gt;
	  missover&lt;BR /&gt;
	  RECFM = F;&lt;BR /&gt;
   &lt;BR /&gt;
   attrib ID length = $14 informat = $ebcdic14.; &lt;BR /&gt;
   attrib DT1 length = $10 informat = $ebcdic10.; &lt;BR /&gt;
   attrib DT2 length = $10 informat = $ebcdic10.; &lt;BR /&gt;
   &lt;BR /&gt;
   input @ 1 ID  $ebcdic14.&lt;BR /&gt;
          @ 16 DT1  $ebcdic10.&lt;BR /&gt;
          @ 27 DT2  $ebcdic10.; &lt;BR /&gt;
   &lt;BR /&gt;
run;&lt;/FILE&gt;&lt;/DIRECOTRY&gt;</description>
      <pubDate>Wed, 26 May 2010 22:04:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Mainframe-file-in-DI-Studio-in-UNIX/m-p/27817#M3943</guid>
      <dc:creator>Sarojkumar</dc:creator>
      <dc:date>2010-05-26T22:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Mainframe file in DI Studio in UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Mainframe-file-in-DI-Studio-in-UNIX/m-p/27818#M3944</link>
      <description>Can you be a bit more specific with the SAS processing behavior/result, than "...but I am not getting the correct result."??  What is SAS generating?  And it would be best communicated if you were to capture the SAS-generated log and paste it directly into a post/reply, ideally with a PUTLOG _ALL_ in your code for diagnostic purposes (both your own and for the forum visitors).&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 26 May 2010 22:46:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Mainframe-file-in-DI-Studio-in-UNIX/m-p/27818#M3944</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-05-26T22:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Mainframe file in DI Studio in UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Mainframe-file-in-DI-Studio-in-UNIX/m-p/27819#M3945</link>
      <description>There is also the question as to how you transferred your mainframe file to Unix. You should only use EBCDIC informats if the file was transferred in BINARY mode so that the file is still EBCDIC-encoded. If the file was transferred as TEXT then the translation to ASCII would have happened automatically so that you don't require the EBCIDC informats. If your input file just looks like standard text in a Unix text editor its already in ASCII.</description>
      <pubDate>Tue, 01 Jun 2010 03:13:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Mainframe-file-in-DI-Studio-in-UNIX/m-p/27819#M3945</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2010-06-01T03:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Mainframe file in DI Studio in UNIX</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Mainframe-file-in-DI-Studio-in-UNIX/m-p/514957#M32570</link>
      <description>&lt;P&gt;The reading of the mainframe file in the DI Studio in the Unix can be done by the given setups. The thing is that the user has to follow that to execute that. To implement that on the Windows platform the user has to access through &lt;A href="https://oniton.com/blog/windows-modules-installer-worker-windows-10/" target="_self"&gt;windows modules installer worker high CPU&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 00:09:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reading-Mainframe-file-in-DI-Studio-in-UNIX/m-p/514957#M32570</guid>
      <dc:creator>mark1212</dc:creator>
      <dc:date>2018-11-21T00:09:11Z</dc:date>
    </item>
  </channel>
</rss>

