<?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: return value of frecover in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965820#M416751</link>
    <description>Thanks Peter.&lt;BR /&gt;&lt;BR /&gt;I agree with you and I close the thread.&lt;BR /&gt;&lt;BR /&gt;Best regards</description>
    <pubDate>Mon, 20 Mar 2006 11:42:22 GMT</pubDate>
    <dc:creator>AYMA</dc:creator>
    <dc:date>2006-03-20T11:42:22Z</dc:date>
    <item>
      <title>return value of frecover</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965812#M416743</link>
      <description>Hi,&lt;BR /&gt;what are the return values of frecover ?&lt;BR /&gt;The man of fbackup gives the return values but nothing in the frecover man.....&lt;BR /&gt;I have tried different scenarios and I have obtained only 0 (success) or 1 (problem) for frecover. &lt;BR /&gt;Are other return values existing ?&lt;BR /&gt;&lt;BR /&gt;Best regards</description>
      <pubDate>Thu, 09 Mar 2006 04:34:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965812#M416743</guid>
      <dc:creator>AYMA</dc:creator>
      <dc:date>2006-03-09T04:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: return value of frecover</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965813#M416744</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;0 upon normal completion, &lt;BR /&gt;&lt;BR /&gt;1 if it is interrupted but allowed to save its state for possible restart&lt;BR /&gt;&lt;BR /&gt;2 if any error conditions prevent the session from completing.&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 09 Mar 2006 04:47:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965813#M416744</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-03-09T04:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: return value of frecover</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965814#M416745</link>
      <description>Thanks for your response,&lt;BR /&gt;I'am not sure for the return value 2.&lt;BR /&gt;I have tried this scenario.&lt;BR /&gt;During the frecover command (frecover -r -f /path/backup_file -v), I erase the backup file ( &amp;gt; /path/backup_file) for simulating a DLT or disk problem. The frecover exits with this message :&lt;BR /&gt;frecover(2104): zero length read from disk file. Frecover exiting&lt;BR /&gt;&lt;BR /&gt;But the exit code is 1 and not 2.&lt;BR /&gt;Why not 2 ?&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Mar 2006 05:12:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965814#M416745</guid>
      <dc:creator>AYMA</dc:creator>
      <dc:date>2006-03-09T05:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: return value of frecover</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965815#M416746</link>
      <description>No ideas ?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Mar 2006 08:12:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965815#M416746</guid>
      <dc:creator>AYMA</dc:creator>
      <dc:date>2006-03-20T08:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: return value of frecover</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965816#M416747</link>
      <description>Ayma,&lt;BR /&gt;the full list of errors seems to be accessable via:&lt;BR /&gt;dumpmsg /usr/lib/nls/C/fbackup.cat | more</description>
      <pubDate>Mon, 20 Mar 2006 08:22:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965816#M416747</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-20T08:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: return value of frecover</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965817#M416748</link>
      <description>Ayma,&lt;BR /&gt;sorry, previous message was fbackup error.&lt;BR /&gt;Frecover at:&lt;BR /&gt;dumpmsg /usr/lib/nls/C/frecover.cat | more</description>
      <pubDate>Mon, 20 Mar 2006 08:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965817#M416748</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-20T08:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: return value of frecover</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965818#M416749</link>
      <description>Hi,&lt;BR /&gt;Thanks for your response.&lt;BR /&gt;No problem for fbackup.cat instead of frecover.cat.&lt;BR /&gt;In fact, this command (i don't know it) gives the error code but I just want to know the RETURN VALUES or exit code obtained with echo $? (like in the frecover man with 4 values)&lt;BR /&gt;yogeeraj says :&lt;BR /&gt;"0 upon normal completion,&lt;BR /&gt;1 if it is interrupted but allowed to save its state for possible restart&lt;BR /&gt;2 if any error conditions prevent the session from completing."&lt;BR /&gt;&lt;BR /&gt;But I never have the 2 value during my check, only 0 for success and 1 for problem.</description>
      <pubDate>Mon, 20 Mar 2006 08:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965818#M416749</guid>
      <dc:creator>AYMA</dc:creator>
      <dc:date>2006-03-20T08:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: return value of frecover</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965819#M416750</link>
      <description>Ayma,&lt;BR /&gt;man frecover does not list any return codes. So I would say there is no list.&lt;BR /&gt;&lt;BR /&gt;fbackup and frecover have been around from the days of 1Gb file system limits and have 'organically grown' i.e. without full documentation.&lt;BR /&gt; &lt;BR /&gt;As you said, you have only found 0(success) or 1(problem), as have I.&lt;BR /&gt;&lt;BR /&gt;So those are the return values you can code for.&lt;BR /&gt;If you want to be more specific with error identification, my previous answer should give you enough error codes to go with.&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Mar 2006 11:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965819#M416750</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-20T11:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: return value of frecover</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965820#M416751</link>
      <description>Thanks Peter.&lt;BR /&gt;&lt;BR /&gt;I agree with you and I close the thread.&lt;BR /&gt;&lt;BR /&gt;Best regards</description>
      <pubDate>Mon, 20 Mar 2006 11:42:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/return-value-of-frecover/m-p/4965820#M416751</guid>
      <dc:creator>AYMA</dc:creator>
      <dc:date>2006-03-20T11:42:22Z</dc:date>
    </item>
  </channel>
</rss>

