<?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: copy saveset to PC in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258477#M27581</link>
    <description>I also used zipped savesets for transferring files around and guaranteeing preservation of file attributes. Do some experiments with "-V" to see if it works for you.&lt;BR /&gt;&lt;BR /&gt;As of OpenVMS V8.3, BACKUP can repair some broken savesets&lt;BR /&gt;&lt;BR /&gt;$ BACKUP/REPAIR ABC.BCK/SAVE&lt;BR /&gt;&lt;BR /&gt;(still not documented). &lt;BR /&gt;&lt;BR /&gt;For earlier versions of OpenVMS there are plenty of DCL procedures to do the equivalent repair.&lt;BR /&gt;&lt;BR /&gt;The one I use exploits Hein's clever hack:&lt;BR /&gt;&lt;BR /&gt;$IF p1.EQS."" THEN INQUIRE p1 "Save set file name ?"&lt;BR /&gt;$IF f$search(p1).EQS."" THEN EXIT&lt;BR /&gt;$IF p2.EQS."" THEN WRITE SYS$OUTPUT -&lt;BR /&gt;  " RFM = ", F$FILE(p1,"RFM"), ",",-&lt;BR /&gt;  " MRS = ", F$FILE(p1,"MRS"), ",",-&lt;BR /&gt;  " LRL = ", F$FILE(p1,"LRL"), "."&lt;BR /&gt;$SET FILE /ATTR=(RFM=FIX, MRS=44, LRL=44) 'p1   ! Easier for DCL&lt;BR /&gt;$OPEN/READ file 'p1&lt;BR /&gt;$READ file record&lt;BR /&gt;$CLOSE file&lt;BR /&gt;$mrs = F$CVSI(40*8,32,record)&lt;BR /&gt;$IF p2.EQS."" THEN WRITE SYS$OUTPUT "Setting blocksize to: ",MRS&lt;BR /&gt;$SET FILE /ATTR=(RFM=FIX, MRS='mrs', LRL='mrs') 'p1&lt;BR /&gt;</description>
    <pubDate>Mon, 11 Oct 2010 22:25:15 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2010-10-11T22:25:15Z</dc:date>
    <item>
      <title>copy saveset to PC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258472#M27576</link>
      <description>Hi, I am supporting a legacy system using Pascal on an Itanium running VMS V8.2-1. There are times when I want to copy data files from their production computer onto my local Itanium.&lt;BR /&gt;&lt;BR /&gt;So, I create a saveset:&lt;BR /&gt;&lt;BR /&gt;backup *.dat abc.bck/sav/log/ver&lt;BR /&gt;&lt;BR /&gt;then copy to the PC (issuing these commands on the PC):&lt;BR /&gt;&lt;BR /&gt;FTP 192.168.xx.xx&lt;BR /&gt;bin&lt;BR /&gt;get abc.bck&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;I then copy this file to a PC connected to my local network and do the reverse&lt;BR /&gt;&lt;BR /&gt;FTP 10.2.xx.xx&lt;BR /&gt;bin&lt;BR /&gt;put abc.bck&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;The save set set is not readable. When I try backup/lis abc.bck/sav I see the save set header and then error messages:&lt;BR /&gt;&lt;BR /&gt;%BACKUP-E-INVRECSIZ, invalid record size in save set&lt;BR /&gt;%BACKUP-E-READERRS, excessive error rate reading EXE_BASELINE:[EXE]ABC.BCK;1&lt;BR /&gt;-BACKUP-E-HDRCRC, software header CRC error&lt;BR /&gt;%BACKUP-I-OPERSPEC&lt;BR /&gt;&lt;BR /&gt;My experience is that this is consistent with specifying the wrong file type in FTP.&lt;BR /&gt;&lt;BR /&gt;Any tips for copying savesets between computers?&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Mon, 11 Oct 2010 19:47:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258472#M27576</guid>
      <dc:creator>tim lloyd_1</dc:creator>
      <dc:date>2010-10-11T19:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: copy saveset to PC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258473#M27577</link>
      <description>BACKUP is incompatible with ftp, and the saveset will requires de-corruption.&lt;BR /&gt;&lt;BR /&gt;Easiest fix: forget backup.   Use zip "-V".  Works better.&lt;BR /&gt;&lt;BR /&gt;If you really want BACKUP, then Google for the sequence or fetch the saveset reset tool via the following path:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://decuslib.com/decus/freewarev80/000TOOLS/" target="_blank"&gt;http://decuslib.com/decus/freewarev80/000TOOLS/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Related:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/684" target="_blank"&gt;http://labs.hoffmanlabs.com/node/684&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is listed in the OpenVMS FAQ, as well:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Oct 2010 19:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258473#M27577</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-10-11T19:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: copy saveset to PC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258474#M27578</link>
      <description>Thanks Hoff. Problem solved. I'll close this shortly</description>
      <pubDate>Mon, 11 Oct 2010 20:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258474#M27578</guid>
      <dc:creator>tim lloyd_1</dc:creator>
      <dc:date>2010-10-11T20:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: copy saveset to PC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258475#M27579</link>
      <description>Solution provided by Hoff. Use zip instead of backup when copying files via FTP.</description>
      <pubDate>Mon, 11 Oct 2010 20:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258475#M27579</guid>
      <dc:creator>tim lloyd_1</dc:creator>
      <dc:date>2010-10-11T20:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: copy saveset to PC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258476#M27580</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;Actually, with all due respect to the ZIP/UNZIP team, I generally use the ZIP/UNZIP combination to process the BACKUP save set. Then, I then use BACKUP to do the actual restore. &lt;BR /&gt;&lt;BR /&gt;ZIP/UNZIP with file attributes does work, but I trust BACKUP more when with arbitrary files. In effect, I am using ZIP/UNZIP to containerize the file for FTP.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 11 Oct 2010 21:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258476#M27580</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2010-10-11T21:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: copy saveset to PC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258477#M27581</link>
      <description>I also used zipped savesets for transferring files around and guaranteeing preservation of file attributes. Do some experiments with "-V" to see if it works for you.&lt;BR /&gt;&lt;BR /&gt;As of OpenVMS V8.3, BACKUP can repair some broken savesets&lt;BR /&gt;&lt;BR /&gt;$ BACKUP/REPAIR ABC.BCK/SAVE&lt;BR /&gt;&lt;BR /&gt;(still not documented). &lt;BR /&gt;&lt;BR /&gt;For earlier versions of OpenVMS there are plenty of DCL procedures to do the equivalent repair.&lt;BR /&gt;&lt;BR /&gt;The one I use exploits Hein's clever hack:&lt;BR /&gt;&lt;BR /&gt;$IF p1.EQS."" THEN INQUIRE p1 "Save set file name ?"&lt;BR /&gt;$IF f$search(p1).EQS."" THEN EXIT&lt;BR /&gt;$IF p2.EQS."" THEN WRITE SYS$OUTPUT -&lt;BR /&gt;  " RFM = ", F$FILE(p1,"RFM"), ",",-&lt;BR /&gt;  " MRS = ", F$FILE(p1,"MRS"), ",",-&lt;BR /&gt;  " LRL = ", F$FILE(p1,"LRL"), "."&lt;BR /&gt;$SET FILE /ATTR=(RFM=FIX, MRS=44, LRL=44) 'p1   ! Easier for DCL&lt;BR /&gt;$OPEN/READ file 'p1&lt;BR /&gt;$READ file record&lt;BR /&gt;$CLOSE file&lt;BR /&gt;$mrs = F$CVSI(40*8,32,record)&lt;BR /&gt;$IF p2.EQS."" THEN WRITE SYS$OUTPUT "Setting blocksize to: ",MRS&lt;BR /&gt;$SET FILE /ATTR=(RFM=FIX, MRS='mrs', LRL='mrs') 'p1&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Oct 2010 22:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258477#M27581</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-10-11T22:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: copy saveset to PC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258478#M27582</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Any tips for copying savesets between&lt;BR /&gt;&amp;gt; computers?&lt;BR /&gt;&lt;BR /&gt;A Web search for related error messages might&lt;BR /&gt;have led you to (among other places):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://antinode.info/dec/sw/fixrec.html" target="_blank"&gt;http://antinode.info/dec/sw/fixrec.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;which leads to a command procedure intended&lt;BR /&gt;to repair the damage to a BACKUP save set&lt;BR /&gt;caused by (binary) FTP.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Easiest fix: forget backup. Use zip "-V".&lt;BR /&gt;&amp;gt; Works better.&lt;BR /&gt;&lt;BR /&gt;With Zip 2.32 or newer, on VMS V8.2-1 (with&lt;BR /&gt;"Parse Style: Extended"), you can even leave&lt;BR /&gt;out the quotation marks.&lt;BR /&gt;&lt;BR /&gt;If you're interested in any exotic file&lt;BR /&gt;attributes (ACLs, seriously weird ODS5&lt;BR /&gt;extended file names, ...), then you might&lt;BR /&gt;wish to run some tests to verify that&lt;BR /&gt;Zip+UnZip won't lose anything, but, for most&lt;BR /&gt;purposes, They should be pretty safe.  (The&lt;BR /&gt;known ACL problems should be fixed in the&lt;BR /&gt;current Zip 3.1 development code.  Complain&lt;BR /&gt;if you notice a problem.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I generally use the ZIP/UNZIP&lt;BR /&gt;&amp;gt; combination to process the BACKUP save set.&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Extra (often pointless) time and disk space&lt;BR /&gt;required, but probably safer.  For normal&lt;BR /&gt;stuff, I wouldn't bother.</description>
      <pubDate>Mon, 11 Oct 2010 22:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258478#M27582</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-10-11T22:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: copy saveset to PC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258479#M27583</link>
      <description>&amp;gt; The one I use exploits Hein's clever hack:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; $IF p1.EQS."" THEN INQUIRE p1 "Save set file name ?"&lt;BR /&gt;&amp;gt; $IF f$search(p1).EQS."" THEN EXIT&lt;BR /&gt;&amp;gt; $IF p2.EQS."" THEN WRITE SYS$OUTPUT -&lt;BR /&gt;&amp;gt; " RFM = ", F$FILE(p1,"RFM"), ",",-&lt;BR /&gt;&amp;gt; " MRS = ", F$FILE(p1,"MRS"), ",",-&lt;BR /&gt;&amp;gt; " LRL = ", F$FILE(p1,"LRL"), "."&lt;BR /&gt;&amp;gt; $SET FILE /ATTR=(RFM=FIX, MRS=44, LRL=44) 'p1 ! Easier for DCL&lt;BR /&gt;&lt;BR /&gt;The fix is simply to reset the record size to the original size used by the BACKUP command.  I would NOT call this corruption since all of the data is intact.  (Just my two cents.)&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 12 Oct 2010 11:19:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258479#M27583</guid>
      <dc:creator>tsgdavid</dc:creator>
      <dc:date>2010-10-12T11:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: copy saveset to PC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258480#M27584</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I would NOT call this corruption since all &lt;BR /&gt;&amp;gt;of the data is intact.&lt;BR /&gt;&lt;BR /&gt;  So if the file is just a little bit corrupt, but sufficient that it can't actually be used, you don't call it corruption? &lt;BR /&gt;&lt;BR /&gt;  Doesn't seem like a very useful definition to me. Looks like a duck, quacks like a duck...</description>
      <pubDate>Tue, 12 Oct 2010 20:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-saveset-to-pc/m-p/5258480#M27584</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-10-12T20:39:39Z</dc:date>
    </item>
  </channel>
</rss>

