<?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: Openvms NFS &amp;lt;CR&amp;gt; in files in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116466#M618</link>
    <description>&lt;BR /&gt;I'm sure there is some setting in NFS to fix this for future transfers, or maybe use Pathworks instead&lt;BR /&gt;&lt;BR /&gt;It is likely that you can fix the current file with a SET FILE/ATTR=RFM command, possibly followed by a convert. We need a little more detail: DIR/FULL and DUMP/BLOCK=COUNT=1&lt;BR /&gt;&lt;BR /&gt;Please ATTACH that output as a .TXT file to a further reply, as this forum stuff mngles spaces.&lt;BR /&gt;&lt;BR /&gt;A potential solution is:&lt;BR /&gt;&lt;BR /&gt;SET FILE/ATTR=RFM=STM old&lt;BR /&gt;CONVERT/FDL=NL: old new&lt;BR /&gt;&lt;BR /&gt;Or you can just use a perl/awk/dcl script to cut of the excess CR:&lt;BR /&gt;&lt;BR /&gt;perl -e "while (&amp;lt;&amp;gt;) {chop; chop; print ""$_\n""}" &amp;lt; tmp.tmp &amp;gt; tt:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gawk /com="{gsub(/\r$/,"""");print}" old  /outp=new&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Nov 2003 11:49:28 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2003-11-12T11:49:28Z</dc:date>
    <item>
      <title>Openvms NFS &lt;CR&gt; in files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116463#M615</link>
      <description>We recently upgraded our alpha box to run OpenVMS V 7.3-1.  We use NFS to connect a few of our PC's that map to OpenVMS TCIP exports to transfer files.  We also have some pathworks (DOS) machines doing the same.  &lt;BR /&gt;&lt;BR /&gt;The problem is:  The NFS (DOS and Windows versions) put a CR at the end of each line of text. This causes our Fortran program to not read it correctly.  Is there a command or something I can do to have it not place the CR in the file?  Thanks</description>
      <pubDate>Tue, 11 Nov 2003 16:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116463#M615</guid>
      <dc:creator>Jerry Lucas</dc:creator>
      <dc:date>2003-11-11T16:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms NFS &lt;CR&gt; in files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116464#M616</link>
      <description>Long time since I've done any NFS, But what are the export options?&lt;BR /&gt;&lt;BR /&gt;Maybe &lt;BR /&gt;TCPIP ADD EXPORT /OPTION=NODATA_CONVERSION&lt;BR /&gt;could make a difference?&lt;BR /&gt;See TCPIP HELP ADD EXPORT/OPTIONS for more info.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Nov 2003 17:10:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116464#M616</guid>
      <dc:creator>Åge Rønning</dc:creator>
      <dc:date>2003-11-11T17:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms NFS &lt;CR&gt; in files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116465#M617</link>
      <description>Thanks for the response.  But, I tried that already and it deoes the same thing.  I have tried saving the file locally and then copying back out to NFS and it didn't work.  &lt;BR /&gt;&lt;BR /&gt;The normal way we handle file writes (through pathworks) is writing out to the file on NFS and it works fine.  When we do the same on the DOS and Windows NFS machines, the alpha box sees the "CR" at the end of the line.&lt;BR /&gt;&lt;BR /&gt;Let me know if you have any suggestions please or if any of you have encountered similar problems.</description>
      <pubDate>Wed, 12 Nov 2003 08:12:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116465#M617</guid>
      <dc:creator>Jerry Lucas</dc:creator>
      <dc:date>2003-11-12T08:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms NFS &lt;CR&gt; in files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116466#M618</link>
      <description>&lt;BR /&gt;I'm sure there is some setting in NFS to fix this for future transfers, or maybe use Pathworks instead&lt;BR /&gt;&lt;BR /&gt;It is likely that you can fix the current file with a SET FILE/ATTR=RFM command, possibly followed by a convert. We need a little more detail: DIR/FULL and DUMP/BLOCK=COUNT=1&lt;BR /&gt;&lt;BR /&gt;Please ATTACH that output as a .TXT file to a further reply, as this forum stuff mngles spaces.&lt;BR /&gt;&lt;BR /&gt;A potential solution is:&lt;BR /&gt;&lt;BR /&gt;SET FILE/ATTR=RFM=STM old&lt;BR /&gt;CONVERT/FDL=NL: old new&lt;BR /&gt;&lt;BR /&gt;Or you can just use a perl/awk/dcl script to cut of the excess CR:&lt;BR /&gt;&lt;BR /&gt;perl -e "while (&amp;lt;&amp;gt;) {chop; chop; print ""$_\n""}" &amp;lt; tmp.tmp &amp;gt; tt:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gawk /com="{gsub(/\r$/,"""");print}" old  /outp=new&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2003 11:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116466#M618</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2003-11-12T11:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms NFS &lt;CR&gt; in files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116467#M619</link>
      <description>Thanks for your responses.  I found a solution at&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_3707.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_3707.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;One question..is there a way to forace all files in a directory to have certain attributes (i.e. /Attribute=(RFM=STM)).&lt;BR /&gt;&lt;BR /&gt;Thanks again</description>
      <pubDate>Wed, 12 Nov 2003 12:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116467#M619</guid>
      <dc:creator>Jerry Lucas</dc:creator>
      <dc:date>2003-11-12T12:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms NFS &lt;CR&gt; in files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116468#M620</link>
      <description>As I indicated, I have not played much with NFS mounted disks on VMS, but I suspect you can not change the atrributes on the NFS side. I suspect you need to copy them over and just follow the copy with SET FILE... *.*.*&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2003 13:36:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116468#M620</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2003-11-12T13:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms NFS &lt;CR&gt; in files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116469#M621</link>
      <description>We do the modification from the Windows/DOS side of the house and then read/process the data with OpenVMS.</description>
      <pubDate>Wed, 12 Nov 2003 13:41:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116469#M621</guid>
      <dc:creator>Jerry Lucas</dc:creator>
      <dc:date>2003-11-12T13:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms NFS &lt;CR&gt; in files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116470#M622</link>
      <description>I added a &lt;BR /&gt;set file/attribute=(RFM=STM)&lt;BR /&gt;when the existing RFM is STMLF to the batch jobs that process the files and it is now working.</description>
      <pubDate>Wed, 19 Nov 2003 13:40:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-nfs-lt-cr-gt-in-files/m-p/3116470#M622</guid>
      <dc:creator>Jerry Lucas</dc:creator>
      <dc:date>2003-11-19T13:40:05Z</dc:date>
    </item>
  </channel>
</rss>

