<?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: Problem while reading the file from Unix in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689454#M303149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alekhya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the characteristics of the source system from where you have received the file. Accordingly you need to change the OPEN Dataset Stmt with these additions: &lt;/P&gt;&lt;P&gt;2a. ... IN BINARY MODE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2b. ... IN TEXT MODE [ENCODING (DEFAULT|UTF-8|NON-UNICODE)] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2c. ... IN LEGACY BINARY MODE [(BIG|LITTLE) ENDIAN] [CODE PAGE cp] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2d. ... IN LEGACY TEXT MODE [(BIG|LITTLE) ENDIAN] [CODE PAGE cp] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if possible please view the data existing in the file via transaction AL11. It might give some clues as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2006 06:34:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-17T06:34:06Z</dc:date>
    <item>
      <title>Problem while reading the file from Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689451#M303146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing the problem while reading the file, &lt;/P&gt;&lt;P&gt;I am using open dataset statement for input in legacy binary/text mode. &lt;/P&gt;&lt;P&gt;a fm *get_filename used to read the file from unix system. but it is filled with &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;and other non alphabetic characters. &lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me ......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 05:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689451#M303146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T05:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while reading the file from Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689452#M303147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you reading the file from Application Server or Presentation Server.&lt;/P&gt;&lt;P&gt;In the former case, you should be using OPEN DATASET and READ DATASET statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the latter case, you should use the FM WS_UPLOAD option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Meera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 06:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689452#M303147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T06:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while reading the file from Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689453#M303148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am reading the file from application server, and using the open dataset stmt  in legacy binary/text mode.&lt;/P&gt;&lt;P&gt;but still it is not working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this I am able to see in sap working directory the file but it is full  of&lt;/P&gt;&lt;P&gt;like this,&lt;/P&gt;&lt;P&gt;Ã¡################&amp;gt;###Ã¾Ã¿##################*###########,#######Ã¾Ã¿Ã¿Ã¿####)&lt;/P&gt;&lt;P&gt;any additions to the open dataset sttmt if reading from unix file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me./....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 06:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689453#M303148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T06:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while reading the file from Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689454#M303149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alekhya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the characteristics of the source system from where you have received the file. Accordingly you need to change the OPEN Dataset Stmt with these additions: &lt;/P&gt;&lt;P&gt;2a. ... IN BINARY MODE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2b. ... IN TEXT MODE [ENCODING (DEFAULT|UTF-8|NON-UNICODE)] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2c. ... IN LEGACY BINARY MODE [(BIG|LITTLE) ENDIAN] [CODE PAGE cp] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2d. ... IN LEGACY TEXT MODE [(BIG|LITTLE) ENDIAN] [CODE PAGE cp] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if possible please view the data existing in the file via transaction AL11. It might give some clues as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 06:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689454#M303149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T06:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while reading the file from Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689455#M303150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eswar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using open dataset stmt ...legacy binary mode, (it contains numeric characters also).  and I analysed file in AL11 , it contains the charcters # and other characters. &lt;/P&gt;&lt;P&gt;while reading the file it coming in the same characters to my file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is the problem. Something need to do while reading the file itself from unix.&lt;/P&gt;&lt;P&gt;please help me if you know...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 06:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689455#M303150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T06:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while reading the file from Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689456#M303151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alekhya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check with the concerned persons on the characteristics of the source system of the file from which you have received the same. As far as i know, the data sent is not recognizable by your SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for the following w.r.t the source system:&lt;/P&gt;&lt;P&gt;1. The format in which the source system downloads the data: ASCII or BINARY...&lt;/P&gt;&lt;P&gt;2. If the source system sends in UTF-8 format...&lt;/P&gt;&lt;P&gt;3. The codepage in which the data is downloaded. Also please make sure that in your system you have the same code page to be able to recognize the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 06:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689456#M303151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T06:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while reading the file from Unix</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689457#M303152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The open dataset statement ,with unix linefeed in which scenarios we can use this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 07:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-the-file-from-unix/m-p/1689457#M303152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T07:00:04Z</dc:date>
    </item>
  </channel>
</rss>

