<?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: problem with a function  with error message MGR-00073 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-function-with-error-message-mgr-00073/m-p/3137397#M800170</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;You may be facing a BUG in the version of Oracle!&lt;BR /&gt;&lt;BR /&gt;try to connect as user GPFDBA&lt;BR /&gt;&lt;BR /&gt;and run the following:&lt;BR /&gt;=======================================&lt;BR /&gt;DROP FUNCTION DATE_TO_HISTO;&lt;BR /&gt;-- BEGIN PL/SQL BLOCK (do not remove this line) --------------------------------&lt;BR /&gt;CREATE OR REPLACE FUNCTION date_to_histo (odate in date) return number is&lt;BR /&gt;begin&lt;BR /&gt;-- Convert a Oracle date to a Portfolio date (nammed histodate)&lt;BR /&gt;return (-trunc(to_number(odate - to_date('14/09/1752','DD/MM/YYYY'))));&lt;BR /&gt;end;&lt;BR /&gt;-- END PL/SQL BLOCK (do not remove this line) ----------------------------------;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DROP FUNCTION HISTO_TO_DATE;&lt;BR /&gt;-- BEGIN PL/SQL BLOCK (do not remove this line) --------------------------------&lt;BR /&gt;CREATE OR REPLACE FUNCTION histo_to_date (hdate in number) return date is&lt;BR /&gt;begin&lt;BR /&gt;-- Convert a Portfolio date (nammed histodate) to Oracle date&lt;BR /&gt;return (to_date('14/09/1752','DD/MM/YYYY') + abs(hdate));&lt;BR /&gt;end;&lt;BR /&gt;-- END PL/SQL BLOCK (do not remove this line) ----------------------------------;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DROP FUNCTION HISTO_TO_HEURE;&lt;BR /&gt;-- BEGIN PL/SQL BLOCK (do not remove this line) --------------------------------&lt;BR /&gt;CREATE OR REPLACE FUNCTION histo_to_heure (hdate number) return character is&lt;BR /&gt;begin&lt;BR /&gt;-- Convert a Portfolio hour (nammed histodate) to character as "23:59:59"&lt;BR /&gt;-- Return space if hdate is too large&lt;BR /&gt;if abs(hdate) &amp;gt; 86399 then return ' '; end if;&lt;BR /&gt;return (to_char(to_date(abs(hdate),'SSSSS'),'HH24:MI:SS'));&lt;BR /&gt;end;&lt;BR /&gt;-- END PL/SQL BLOCK (do not remove this line) ----------------------------------;&lt;BR /&gt;============================================&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
    <pubDate>Fri, 05 Dec 2003 23:35:20 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2003-12-05T23:35:20Z</dc:date>
    <item>
      <title>problem with a function  with error message MGR-00073</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-function-with-error-message-mgr-00073/m-p/3137395#M800168</link>
      <description>I have a base oracle 8.0.5 installed on HP 11.0, when I execute the script of creating  the functions starting from script below: &lt;BR /&gt;&lt;BR /&gt;DROP FUNCTION GPFDBA.DATE_TO_HISTO;&lt;BR /&gt;-- BEGIN PL/SQL BLOCK (do not remove this line) --------------------------------&lt;BR /&gt;CREATE OR REPLACE FUNCTION GPFDBA.date_to_histo (odate in date) return number is&lt;BR /&gt;begin&lt;BR /&gt;  -- Convert a Oracle date to a Portfolio date (nammed histodate)&lt;BR /&gt;  return (-trunc(to_number(odate - to_date('14/09/1752','DD/MM/YYYY'))));&lt;BR /&gt;end;&lt;BR /&gt;-- END PL/SQL BLOCK (do not remove this line) ----------------------------------;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DROP FUNCTION GPFDBA.HISTO_TO_DATE;&lt;BR /&gt;-- BEGIN PL/SQL BLOCK (do not remove this line) --------------------------------&lt;BR /&gt;CREATE OR REPLACE FUNCTION GPFDBA.histo_to_date (hdate in number) return date is&lt;BR /&gt;begin&lt;BR /&gt;  -- Convert a Portfolio date (nammed histodate) to Oracle date&lt;BR /&gt;  return (to_date('14/09/1752','DD/MM/YYYY') + abs(hdate));&lt;BR /&gt;end;&lt;BR /&gt;-- END PL/SQL BLOCK (do not remove this line) ----------------------------------;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DROP FUNCTION GPFDBA.HISTO_TO_HEURE;&lt;BR /&gt;-- BEGIN PL/SQL BLOCK (do not remove this line) --------------------------------&lt;BR /&gt;CREATE OR REPLACE FUNCTION GPFDBA.histo_to_heure (hdate number) return character is&lt;BR /&gt;begin&lt;BR /&gt;  -- Convert a Portfolio hour (nammed histodate) to character as "23:59:59"&lt;BR /&gt;  -- Return space if hdate is too large&lt;BR /&gt;  if abs(hdate) &amp;gt; 86399 then return ' '; end if;&lt;BR /&gt;  return (to_char(to_date(abs(hdate),'SSSSS'),'HH24:MI:SS'));&lt;BR /&gt;end;&lt;BR /&gt;-- END PL/SQL BLOCK (do not remove this line) ----------------------------------;&lt;BR /&gt;&lt;BR /&gt;I receive the following error message: &lt;BR /&gt;&lt;BR /&gt;Statement processed.&lt;BR /&gt;MGR-00073: Warning: FUNCTION GPFDBA.DATE_TO_HISTO created with compilation errors.&lt;BR /&gt;&lt;BR /&gt;how to make for resoudre this problem? .&lt;BR /&gt;thank you for your assistance</description>
      <pubDate>Fri, 05 Dec 2003 10:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-function-with-error-message-mgr-00073/m-p/3137395#M800168</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-05T10:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a function  with error message MGR-00073</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-function-with-error-message-mgr-00073/m-p/3137396#M800169</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://rhea.redhat.com/bboard-archive/webdb/000Hml.html" target="_blank"&gt;http://rhea.redhat.com/bboard-archive/webdb/000Hml.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Should point you in the right direction.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;          Steve Steel</description>
      <pubDate>Fri, 05 Dec 2003 10:32:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-function-with-error-message-mgr-00073/m-p/3137396#M800169</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-12-05T10:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a function  with error message MGR-00073</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-function-with-error-message-mgr-00073/m-p/3137397#M800170</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;You may be facing a BUG in the version of Oracle!&lt;BR /&gt;&lt;BR /&gt;try to connect as user GPFDBA&lt;BR /&gt;&lt;BR /&gt;and run the following:&lt;BR /&gt;=======================================&lt;BR /&gt;DROP FUNCTION DATE_TO_HISTO;&lt;BR /&gt;-- BEGIN PL/SQL BLOCK (do not remove this line) --------------------------------&lt;BR /&gt;CREATE OR REPLACE FUNCTION date_to_histo (odate in date) return number is&lt;BR /&gt;begin&lt;BR /&gt;-- Convert a Oracle date to a Portfolio date (nammed histodate)&lt;BR /&gt;return (-trunc(to_number(odate - to_date('14/09/1752','DD/MM/YYYY'))));&lt;BR /&gt;end;&lt;BR /&gt;-- END PL/SQL BLOCK (do not remove this line) ----------------------------------;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DROP FUNCTION HISTO_TO_DATE;&lt;BR /&gt;-- BEGIN PL/SQL BLOCK (do not remove this line) --------------------------------&lt;BR /&gt;CREATE OR REPLACE FUNCTION histo_to_date (hdate in number) return date is&lt;BR /&gt;begin&lt;BR /&gt;-- Convert a Portfolio date (nammed histodate) to Oracle date&lt;BR /&gt;return (to_date('14/09/1752','DD/MM/YYYY') + abs(hdate));&lt;BR /&gt;end;&lt;BR /&gt;-- END PL/SQL BLOCK (do not remove this line) ----------------------------------;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DROP FUNCTION HISTO_TO_HEURE;&lt;BR /&gt;-- BEGIN PL/SQL BLOCK (do not remove this line) --------------------------------&lt;BR /&gt;CREATE OR REPLACE FUNCTION histo_to_heure (hdate number) return character is&lt;BR /&gt;begin&lt;BR /&gt;-- Convert a Portfolio hour (nammed histodate) to character as "23:59:59"&lt;BR /&gt;-- Return space if hdate is too large&lt;BR /&gt;if abs(hdate) &amp;gt; 86399 then return ' '; end if;&lt;BR /&gt;return (to_char(to_date(abs(hdate),'SSSSS'),'HH24:MI:SS'));&lt;BR /&gt;end;&lt;BR /&gt;-- END PL/SQL BLOCK (do not remove this line) ----------------------------------;&lt;BR /&gt;============================================&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Fri, 05 Dec 2003 23:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-function-with-error-message-mgr-00073/m-p/3137397#M800170</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-12-05T23:35:20Z</dc:date>
    </item>
  </channel>
</rss>

