<?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: RCP with big binary files in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797315#M76740</link>
    <description>&amp;gt;  RCP lacks a "binary" option.&lt;BR /&gt;On VMS yes. One some platforms the -b exists.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; So, is the application unable to use a&lt;BR /&gt;fixed-512 format file?&lt;BR /&gt;I don't want to find out if it works. I'm not going to change each file I copy. Also, since it is a db, you never know for sure.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 31 May 2006 09:15:02 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2006-05-31T09:15:02Z</dc:date>
    <item>
      <title>RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797300#M76725</link>
      <description>VMS 7.3, TCP 5.3 eco 2, username SYSMGR_WVW.&lt;BR /&gt;&lt;BR /&gt;$ ucx show prox &lt;BR /&gt;VMS User_name     Type      User_ID    Group_ID   Host_name&lt;BR /&gt;SYSMGR_WVW        C      SYSMGR_WVW               *&lt;BR /&gt;&lt;BR /&gt;$ rcp salpv1:login.com wim.lis/log&lt;BR /&gt;%RCP-S-COPIED, DSA1:[OPERATIONS.SYSMGR.][WVW]WIM.LIS; copied (8 blocks)&lt;BR /&gt;%RCP-S-NEWFILES, 1 file(s) created&lt;BR /&gt;&lt;BR /&gt;$ rcp salpv1:php.zip wim.lis/log&lt;BR /&gt;%RCP-S-COPIED, DSA1:[OPERATIONS.SYSMGR.][WVW]WIM.LIS; copied (119 blocks)&lt;BR /&gt;%RCP-S-NEWFILES, 1 file(s) created&lt;BR /&gt;&lt;BR /&gt;$ rcp salpv1:"srv_falbck:[dsmmgr.database]arbvol1.gls" ":srv_arbbck:[dsmmgr.database]arbvol1.gls"/log&lt;BR /&gt;%RCP-E-LOSTCONN, lost connection&lt;BR /&gt;&lt;BR /&gt;There is no error mesasge in the tcpip$rcp log file. The tcpip$rsh log file shows&lt;BR /&gt;%CONV-F-READERR, error reading !AS&lt;BR /&gt;&lt;BR /&gt;Dir of the file with problems :&lt;BR /&gt;Record format:      Variable length, maximum 255 bytes, longest 1 byte&lt;BR /&gt;Record attributes:  Carriage return carriage control&lt;BR /&gt;&lt;BR /&gt;What is wrong ?&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;BTW : don't want copy/ftp or ftp.</description>
      <pubDate>Wed, 31 May 2006 03:49:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797300#M76725</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T03:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797301#M76726</link>
      <description>&amp;gt; big binary files&lt;BR /&gt;&lt;BR /&gt;How big is "big"?  Bigger than 2GB?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Dir of the file with problems :&lt;BR /&gt;&amp;gt; Record format: Variable length, maximum 255 bytes, longest 1 byte&lt;BR /&gt;&amp;gt; Record attributes: Carriage return carriage control&lt;BR /&gt;&lt;BR /&gt;Why do you call that "binary"?&lt;BR /&gt;&lt;BR /&gt;What's the OS of the destination system?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 05:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797301#M76726</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-31T05:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797302#M76727</link>
      <description>It's VMS to VMS (same version, in fact same node for this test).&lt;BR /&gt;It's a file of 100 MB.&lt;BR /&gt;It's binary because the contents is a database (non-printable).&lt;BR /&gt;&lt;BR /&gt;Whats wrong : %RCP-E-LOSTCONN, lost connection&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 31 May 2006 05:11:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797302#M76727</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T05:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797303#M76728</link>
      <description>&lt;!--!*#--&gt;It's not exactly your file (many copies of&lt;BR /&gt;the VMS FAQ, EVE+COPY), but:&lt;BR /&gt;&lt;BR /&gt;XXX.XXX;8             217572  31-MAY-2006 05:33:25.33  (RWED,RWED,RE,)&lt;BR /&gt;&lt;BR /&gt;Record format:      Variable length, maximum 0 bytes, longest 110 bytes&lt;BR /&gt;Record attributes:  Carriage return carriage control&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;alp $ rcp alp:"ALP$DKA0:[SMS]xxx.xxx" ":dka0:[SMS.test]rcp_x2.x" /log&lt;BR /&gt;%RCP-S-COPIED, DKA0:[SMS.TEST]RCP_X2.X; copied (210593 blocks)&lt;BR /&gt;%RCP-S-NEWFILES, 1 file(s) created&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Of course, after RCP, the file attributes&lt;BR /&gt;have changed to:&lt;BR /&gt;&lt;BR /&gt;Record format:      Stream_LF, maximum 0 bytes, longest 0 bytes&lt;BR /&gt;Record attributes:  Carriage return carriage control&lt;BR /&gt;&lt;BR /&gt;Is _that_ why you insist on using RCP?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;alp $ tcpip show version&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 5&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;Or perhaps it's the (lack of) speed that you&lt;BR /&gt;like?  On a smaller (~10000-block) test file,&lt;BR /&gt;RCP took about 34 seconds, COPY/FTP about 7s.</description>
      <pubDate>Wed, 31 May 2006 06:12:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797303#M76728</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-31T06:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797304#M76729</link>
      <description>Yep. Nice piece of software.&lt;BR /&gt;&lt;BR /&gt;In the mean time I found that the destination is stream but the origin may not be variable record length format when the contents is not (eve says illegal record).&lt;BR /&gt;&lt;BR /&gt;I want(ed) to use rcp because it uses proxies. I don't like putting passwords in scripts.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 31 May 2006 06:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797304#M76729</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T06:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797305#M76730</link>
      <description>DECnet?  Zip first?  I assume that with&lt;BR /&gt;your software version(s), SCP would be even&lt;BR /&gt;worse than RCP, but it, too, can obviate the&lt;BR /&gt;password, and it might have different (less&lt;BR /&gt;troublesome?) problems.</description>
      <pubDate>Wed, 31 May 2006 06:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797305#M76730</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-31T06:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797306#M76731</link>
      <description>The goal is to move away from decnet. And copy/ftp doesn't use proxies.&lt;BR /&gt;&lt;BR /&gt;And yes, speed is a (small) problem. Copying 128 MB took 4 minutes with rcp, 3 minutes with decnet and 3 minutes with ftp. I'm willing to accept that. But not the file type handling.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 31 May 2006 06:40:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797306#M76731</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T06:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797307#M76732</link>
      <description>&amp;gt; The goal is to move away from decnet.&lt;BR /&gt;&lt;BR /&gt;"Doctor, it hurts when I do this."&lt;BR /&gt;&lt;BR /&gt;"Don't do that."&lt;BR /&gt;&lt;BR /&gt;DECnet-over-IP?  I don't know of a one-step,&lt;BR /&gt;non-DECnet procedure which will move a&lt;BR /&gt;file without a password, and preserve its&lt;BR /&gt;RMS attributes.&lt;BR /&gt;&lt;BR /&gt;Is the application unable to use a&lt;BR /&gt;stream-format file?</description>
      <pubDate>Wed, 31 May 2006 06:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797307#M76732</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-31T06:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797308#M76733</link>
      <description>No.</description>
      <pubDate>Wed, 31 May 2006 07:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797308#M76733</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T07:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797309#M76734</link>
      <description>Wim wrote&amp;gt; What is wrong ?&lt;BR /&gt;&lt;BR /&gt;Just about everythign it seems!&lt;BR /&gt;1) That you are using RCP?&lt;BR /&gt;2) The current implementation of RCP?&lt;BR /&gt;3) The files to be copied&lt;BR /&gt;4) The security aspects?&lt;BR /&gt;&lt;BR /&gt;Anyway, that performance difference.. is that per chance all CPU time?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; There is no error mesasge in the tcpip$rcp log file. The tcpip$rsh log file shows&lt;BR /&gt;%CONV-F-READERR, error reading !AS&lt;BR /&gt;&lt;BR /&gt;Yikes... they call convert as part of RCP?&lt;BR /&gt;How can that be needed for simple sequential files? That will change bytes around, but hopefully will not change data.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; In the mean time I found that the destination is stream but the origin may not be variable record length format when the contents is not (eve says illegal record).&lt;BR /&gt;&lt;BR /&gt;Please explore the full details of this.&lt;BR /&gt;How did this file come to be? What is it really? (attach text file with dump/block=count=1 output if needed).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; Dir of the file with problems :&lt;BR /&gt;Record format: Variable length, maximum 255 bytes, longest 1 byte&lt;BR /&gt;Record attributes: Carriage return carriage control&lt;BR /&gt;&lt;BR /&gt;If that is true, then that is a horrible file where each character requires a call to RMS and each character takes up 4 bytes:&lt;BR /&gt;2 bytes for a record length word, 1 byte data and 1 byte filler to re-align the next record length word.&lt;BR /&gt;&lt;BR /&gt;Hope this helps some,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 07:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797309#M76734</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-05-31T07:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797310#M76735</link>
      <description>Hein,&lt;BR /&gt;&lt;BR /&gt;If HP supports rcp, it should work properly. On VMS.&lt;BR /&gt;&lt;BR /&gt;The file is variable record length, max 255, longest 1 but this is not true. The file is a DSM database file and contains simply binary data. &lt;BR /&gt;&lt;BR /&gt;And no, it was (rounded) wall time (elapsed). The 5 was actualy 5.5.&lt;BR /&gt;&lt;BR /&gt;I think I will abandon this rcp stuff. I think it transfers via sys$net (thus has no id of the file format) and converts it (just like my remote backup). But to stream. Good on Unix but not on VMS.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 07:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797310#M76735</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T07:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797311#M76736</link>
      <description>Btw : got it to work after doing set file/at=(rfm:fix,lrl:512). But can't do that for the files I'm copying in real live.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 31 May 2006 08:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797311#M76736</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T08:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797312#M76737</link>
      <description>&lt;BR /&gt;If only TCPIP/IP protocols possible, and both sides are VMS systems, may I suggest to use  HGFTP client and server ?&lt;BR /&gt;&lt;BR /&gt;It allows anonymous FTP with "CD ~user" to a user directory, and is using VMS file mode for binary transfers.&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 08:21:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797312#M76737</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2006-05-31T08:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797313#M76738</link>
      <description>Rcp also has anonymous ftp. But that's a no go since file protections don't allow that.&lt;BR /&gt;&lt;BR /&gt;Why o why didn't they implement proxies for ftp ...&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 31 May 2006 08:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797313#M76738</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T08:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797314#M76739</link>
      <description>&amp;gt; Yikes... they call convert as part of RCP?&lt;BR /&gt;&amp;gt; How can that be needed for simple sequential files? &lt;BR /&gt;&lt;BR /&gt;By UNIX standards, variable-length format&lt;BR /&gt;records are not "simple".  It's reasonable&lt;BR /&gt;(if not always correct) to assume that files&lt;BR /&gt;like this are text, and convert&lt;BR /&gt;appropriately.  RCP lacks a "binary" option.&lt;BR /&gt;&lt;BR /&gt;And in this case, it appears that the&lt;BR /&gt;original RMS attributes make no sense.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Btw : got it to work after doing set file/at=(rfm:fix,lrl:512).&lt;BR /&gt;&lt;BR /&gt;So, is the application unable to use a&lt;BR /&gt;fixed-512 format file?</description>
      <pubDate>Wed, 31 May 2006 09:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797314#M76739</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-31T09:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797315#M76740</link>
      <description>&amp;gt;  RCP lacks a "binary" option.&lt;BR /&gt;On VMS yes. One some platforms the -b exists.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; So, is the application unable to use a&lt;BR /&gt;fixed-512 format file?&lt;BR /&gt;I don't want to find out if it works. I'm not going to change each file I copy. Also, since it is a db, you never know for sure.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 09:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797315#M76740</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T09:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: RCP with big binary files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797316#M76741</link>
      <description>&amp;gt;&amp;gt; If HP supports rcp, it should work properly. On VMS.&lt;BR /&gt;&lt;BR /&gt;Absolutely. I 100% agree.&lt;BR /&gt;Raise a serious support issue through the proper channels.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; The file is variable record length, max 255, longest 1 but this is not true. The file is a DSM database file and contains simply binary data. &lt;BR /&gt;&lt;BR /&gt;Forget the support call with HP.&lt;BR /&gt;VMS can not and will not support files that are not what they pretend to be.&lt;BR /&gt;&lt;BR /&gt;I encourage you to raise a serious support call to the DSM providers. They should have given their file attributes reflective of, or at least consistent with the data in them.&lt;BR /&gt;&lt;BR /&gt;Now, after the fact, one should expect them the be able to tell you which alternative attribute is acceptable to them. There is no way that the false label is help them and/or is a requirement.&lt;BR /&gt;&lt;BR /&gt;Furhermore, then DSM provider should be able to recommend an appropriate copy tool / solution to you which may, or might not, require a export tool of sorts. Native, binary, DB files are rarely transportable.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Btw : got it to work after doing set file/at=(rfm:fix,lrl:512). But can't do that for the files I'm copying in real live. &lt;BR /&gt;&lt;BR /&gt;Sure you can. It is a better lie than the current one! But by all means confirm with your DSM provider. They may have given those false attribute to make it clear that you can not copy those files around! (playing devils advocate here).&lt;BR /&gt;&lt;BR /&gt;Why blame VMS when the layered product is clearly not playing by the rules.&lt;BR /&gt;&lt;BR /&gt;Steven wrote&amp;gt; By UNIX standards, variable-length format records are not "simple". It's reasonable&lt;BR /&gt;(if not always correct) to assume that files&lt;BR /&gt;like this are text, and convert&lt;BR /&gt;appropriately. RCP lacks a "binary" option.&lt;BR /&gt;&lt;BR /&gt;Ya But...  a call out to CONVERT is very VMS-ish, part of the added value of the port to VMS. If you go through that trouble, then just read the darn records!&lt;BR /&gt;(Or figure out EXCHANGE/NET). RMS will do the decoding (as it does underlying CONVERT. &lt;BR /&gt;And also, if you wanted to go block mode and roll your own, then it is not rocket sience either.&lt;BR /&gt;&lt;BR /&gt;Here is a brute-force/silly perl script I use on Windoze to read VMS variable length files which are 'accidently' transfered binary:&lt;BR /&gt;&lt;BR /&gt;binmode STDIN; &lt;BR /&gt;while (read STDIN,$length_word,2) { &lt;BR /&gt; # avoid using "S" or "V". just do the math. &lt;BR /&gt; ($length,$null) = unpack ("CC",$length_word); &lt;BR /&gt; $length += $null*256; &lt;BR /&gt; last if ($length &amp;gt; 32767); &lt;BR /&gt; $read = read STDIN,$line,$length; &lt;BR /&gt; print "$line\n"; &lt;BR /&gt; read STDIN,$null,1 if ($length &amp;amp; 1); &lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Wim&amp;gt; I don't want to find out if it works. I'm not going to change each file I copy. Also, since it is a db, you never know for sure.&lt;BR /&gt;&lt;BR /&gt;Well, IMHO you should. Just fix those files and move on, hopefully after getting confirmation by the DB provider, but possibly without.&lt;BR /&gt;The 'games' with RCP/FTP/CONVERT/... are far more dangerous than changing the attributes. Changing attributes either works or it does not.&lt;BR /&gt;&lt;BR /&gt;Misrepresenting them can actually lead to (silent) data corruption. For example, when RMS encounters a record size &amp;gt; EOF it will just not return any data, and it is free to play with the 'fill' byte.&lt;BR /&gt;&lt;BR /&gt;$ crea tmp.txt&lt;BR /&gt;aap&lt;BR /&gt;noot&lt;BR /&gt;mies&lt;BR /&gt;$ set file/attr=(rfm:fix,lrl:50:mrs:50) tmp.tmp&lt;BR /&gt;$ open/read/write tmp tmp.txt&lt;BR /&gt;$ read tmp record&lt;BR /&gt;$ shwo symb record&lt;BR /&gt;  RECORD = "..aap...noot..mies................................"&lt;BR /&gt;$ write sys$output f$cvsi(6*8,2*8,record)&lt;BR /&gt;4&lt;BR /&gt;$ record[6*8,2*8]=12345&lt;BR /&gt;$ write/update tmp record&lt;BR /&gt;$ close tmp&lt;BR /&gt;$ set file/attr=(rfm:var,lrl:0,mrs:0) tmp.txt&lt;BR /&gt;$ type tmp.txt&lt;BR /&gt;aap&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;- Silent corruption!&lt;BR /&gt;&lt;BR /&gt;- Yes I have a symbol 'shwo'... some times it is easier to work around known problems then to truly fix them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 10:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rcp-with-big-binary-files/m-p/3797316#M76741</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-05-31T10:21:22Z</dc:date>
    </item>
  </channel>
</rss>

