<?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 RCP Problems... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875382#M847580</link>
    <description>Hello All... I'm trying to copy files between HPUX 11i servers and OpenVms servers... The problem is the following:&lt;BR /&gt;&lt;BR /&gt;When I'm connected as root to an HPUX server and try to copy a file from a OpenVms server through a command like this (example only):&lt;BR /&gt;rcp a.lis oracle@server-vms:'"des02:[user.ssb.ssbrmb]a.lis"'&lt;BR /&gt;&lt;BR /&gt;I can copy the file, but not as the file really is...&lt;BR /&gt;&lt;BR /&gt;For example... The structure of the file "a.lis" is this:&lt;BR /&gt;&lt;BR /&gt;xxxxxxaabbccff&lt;BR /&gt;aaabbbgggxxxxx&lt;BR /&gt;yyyuuurtrttddd&lt;BR /&gt;&lt;BR /&gt;And when I copy it to the Unix trhough RCP, the structure of the file is changed to one line only:&lt;BR /&gt;&lt;BR /&gt;xxxxxxaabbccffaaabbbgggxxxxxyyyuuurtrttddd&lt;BR /&gt;&lt;BR /&gt;Do you understand??&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong in this command??&lt;BR /&gt;&lt;BR /&gt;Someone can help Me?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Rafael M. Braga</description>
    <pubDate>Tue, 14 Dec 2004 08:37:37 GMT</pubDate>
    <dc:creator>Rafael Mendonça Braga</dc:creator>
    <dc:date>2004-12-14T08:37:37Z</dc:date>
    <item>
      <title>RCP Problems...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875382#M847580</link>
      <description>Hello All... I'm trying to copy files between HPUX 11i servers and OpenVms servers... The problem is the following:&lt;BR /&gt;&lt;BR /&gt;When I'm connected as root to an HPUX server and try to copy a file from a OpenVms server through a command like this (example only):&lt;BR /&gt;rcp a.lis oracle@server-vms:'"des02:[user.ssb.ssbrmb]a.lis"'&lt;BR /&gt;&lt;BR /&gt;I can copy the file, but not as the file really is...&lt;BR /&gt;&lt;BR /&gt;For example... The structure of the file "a.lis" is this:&lt;BR /&gt;&lt;BR /&gt;xxxxxxaabbccff&lt;BR /&gt;aaabbbgggxxxxx&lt;BR /&gt;yyyuuurtrttddd&lt;BR /&gt;&lt;BR /&gt;And when I copy it to the Unix trhough RCP, the structure of the file is changed to one line only:&lt;BR /&gt;&lt;BR /&gt;xxxxxxaabbccffaaabbbgggxxxxxyyyuuurtrttddd&lt;BR /&gt;&lt;BR /&gt;Do you understand??&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong in this command??&lt;BR /&gt;&lt;BR /&gt;Someone can help Me?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Rafael M. Braga</description>
      <pubDate>Tue, 14 Dec 2004 08:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875382#M847580</guid>
      <dc:creator>Rafael Mendonça Braga</dc:creator>
      <dc:date>2004-12-14T08:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: RCP Problems...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875383#M847581</link>
      <description>I don't think that you are having a command problem.  You're having a "file format" problem.  The OpenVMS file isn't using the same "end-of-line sequence" that HP-UX is expecting.  You have to figure it out...&lt;BR /&gt;&lt;BR /&gt;I assume that this is a text file.&lt;BR /&gt;&lt;BR /&gt;Do an hex dump of an HP-UX file and then an OpenVMS file and see what the end of lines look like:&lt;BR /&gt;&lt;BR /&gt;$ xd -xc file&lt;BR /&gt;0000000  3131  0a31  3169  0a50  544f  0a62  696e  0a65&lt;BR /&gt;         1  1 \n  1  1  i \n  P  T  O \n  b  i  n \n  e&lt;BR /&gt;0000010  6d63  0a66  696c  650a  6b73  6872  632e  7478&lt;BR /&gt;         m  c \n  f  i  l  e \n  k  s  h  r  c  .  t  x&lt;BR /&gt;0000020  740a  6e65  7762  696e  0a70  726f  6669  6c65&lt;BR /&gt;         t \n  n  e  w  b  i  n \n  p  r  o  f  i  l  e&lt;BR /&gt;0000030  2e74  7874  0a74  6d70  0a00&lt;BR /&gt;         .  t  x  t \n  t  m  p \n&lt;BR /&gt;0000039&lt;BR /&gt;&lt;BR /&gt;HP-UX text files end in "0a" (\n).</description>
      <pubDate>Tue, 14 Dec 2004 08:45:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875383#M847581</guid>
      <dc:creator>Stuart Abramson</dc:creator>
      <dc:date>2004-12-14T08:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: RCP Problems...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875384#M847582</link>
      <description>Hi Rafael,&lt;BR /&gt; &lt;BR /&gt;since I have no VMS experience at all I think I'm not in a position to reply to this thread.&lt;BR /&gt;But I thought the problem is a more general conversion problem.&lt;BR /&gt; &lt;BR /&gt;In the first place I would expect that such conversions being handled by your rcp client silently behind the scenes.&lt;BR /&gt;Have you consulted its documentation for any special options/arguments/settings etc.?&lt;BR /&gt; &lt;BR /&gt;If you cannot work it out that way, how about piping the file through a converter like dd?&lt;BR /&gt;Sorry, I even don't know if there exists the notion of pipes and utilities such as dd on VMS.&lt;BR /&gt;If I used Unix sysntax I would fancy something like this&lt;BR /&gt; &lt;BR /&gt;remsh oracle@server-vms dd if=a.lis conv=unblock | cat &amp;gt; /some_path/some_file&lt;BR /&gt; &lt;BR /&gt;Refer to the dd manpage for the various conversion options.&lt;BR /&gt; &lt;BR /&gt;Maybe you could use Perl for your task?&lt;BR /&gt;I hear there are ports for VMS as well.&lt;BR /&gt;If so have a look at these modules for instance:&lt;BR /&gt; &lt;BR /&gt;perldoc File::Spec::VMS&lt;BR /&gt;perldoc File::Copy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Dec 2004 09:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875384#M847582</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-12-14T09:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: RCP Problems...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875385#M847583</link>
      <description>If the transfer is performed from HP-UX and OpenVMS uses the same end-of-line as DOS/Windows, then try these methods:&lt;BR /&gt;&lt;BR /&gt;To upload to OpenVMS server:&lt;BR /&gt;$ ux2dos file &amp;gt; file.vms&lt;BR /&gt;$ rcp file.vms oracle@vms:file&lt;BR /&gt;&lt;BR /&gt;To download from OpenVMS server:&lt;BR /&gt;$ rcp oracle@vms:file file.vms&lt;BR /&gt;$ dos2ux file.vms &amp;gt; file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 19:45:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875385#M847583</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2004-12-15T19:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: RCP Problems...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875386#M847584</link>
      <description>Thanks!</description>
      <pubDate>Tue, 15 Feb 2005 07:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-problems/m-p/4875386#M847584</guid>
      <dc:creator>Rafael Mendonça Braga</dc:creator>
      <dc:date>2005-02-15T07:58:49Z</dc:date>
    </item>
  </channel>
</rss>

