<?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 pseudo logic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pseudo-logic/m-p/3386874#M813211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the pseudo logic for reading and writing sequential files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2008 16:54:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-19T16:54:06Z</dc:date>
    <item>
      <title>pseudo logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pseudo-logic/m-p/3386874#M813211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the pseudo logic for reading and writing sequential files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 16:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pseudo-logic/m-p/3386874#M813211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T16:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: pseudo logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pseudo-logic/m-p/3386875#M813212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the pseudologic for opening and writing sequential files is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To open a file, you use the statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET &amp;lt;file name&amp;gt; FOR &amp;lt;options&amp;gt; IN &amp;lt;TEXT/BINARY MODE.&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR options:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;1) For output&lt;/P&gt;&lt;P&gt;   Opens the file for writing. If the file already  &lt;/P&gt;&lt;P&gt;   exists, its contents are deleted, but this applies only after the end of the program.  If the statement occurs in a program, the cursor is simply positioned at the beginning of the file.  You must then specify CLOSE DATASET in order to delete the file. If the file does not exist, it is generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) For input&lt;/P&gt;&lt;P&gt;   Opens an existing file for reading. If the file is already open, the cursor is positioned at the beginning of the file.  You do not have to specify FOR INPUT explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) For appending&lt;/P&gt;&lt;P&gt;   Opens the file for writing at the end of the file.  If the file does not exist, it is generated. If the file is already open, the cursor is positioned at the end.	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN options:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) In Binary mode&lt;/P&gt;&lt;P&gt;   The data is not interpreted by the read and write operations READ DATASET and TRANSFER.  The data areas specified for these key words are input or output directly.  You dont have to specify IN BINARY MODE explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In text mode&lt;/P&gt;&lt;P&gt;   If you open a file with this option, the system assumes that the file has a line structure.  Each time READ DATASET or TRANSFER is executed, one line is always input or output and the data is always processed up to the end-of-line selection.  If the data area is too large for the line that is read, the remaining area is padded with blanks.  If it is too small, the end of the line is lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can transfer the records into a sequential file using TRANSFER command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each TRANSFER statement transfers one data record to a sequential file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET&amp;lt;file name&amp;gt;&lt;/P&gt;&lt;P&gt;You use this statement to close a sequential file explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if you find it useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;chandrasekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 20:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pseudo-logic/m-p/3386875#M813212</guid>
      <dc:creator>former_member188594</dc:creator>
      <dc:date>2008-02-29T20:36:25Z</dc:date>
    </item>
  </channel>
</rss>

