<?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: Att: Dan Hetzel    about that C program in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476612#M776299</link>
    <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;I realised that those variables were unused in the program so it won't probably help to resize them.&lt;BR /&gt;Did you try putting a few 'printf' statements in the code to check your data?&lt;BR /&gt;Does someone of your team know how to use a debugger?&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Dec 2000 09:45:40 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2000-12-27T09:45:40Z</dc:date>
    <item>
      <title>Att: Dan Hetzel    about that C program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476608#M776295</link>
      <description>Well, they've been looking for 3 hours and still no progress.  I'm going to sit down with them and take a look  (...I don't know C, but ...can't hurt to look too).&lt;BR /&gt;&lt;BR /&gt;So, attached you will find the copy of the C program giving us grief.  From what I've been told, it creates the array alright, but when it goes to read the array....then the problem appears.  When they check the record(s) it blows up on..the records are good.  Go figure.&lt;BR /&gt;Anyway here tis....Thanks for the offer to take a look at it.  &lt;BR /&gt;&lt;BR /&gt;/rcw&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Dec 2000 15:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476608#M776295</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2000-12-26T15:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Att: Dan Hetzel    about that C program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476609#M776296</link>
      <description>Hi Rita:&lt;BR /&gt;&lt;BR /&gt;I see you are in a typical debug seesion:&lt;BR /&gt; I cant give you same help, only some ideas:&lt;BR /&gt;&lt;BR /&gt;- Have you access to metalink? (oracle's forums)&lt;BR /&gt;- Install a debugger such as wdb.&lt;BR /&gt;   See: &lt;A href="http://devresource.hp.com/devresource/Tools/wdb/index.html" target="_blank"&gt;http://devresource.hp.com/devresource/Tools/wdb/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;- Write milestones on you code.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Dec 2000 16:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476609#M776296</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2000-12-26T16:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Att: Dan Hetzel    about that C program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476610#M776297</link>
      <description>Hi Rita,&lt;BR /&gt;&lt;BR /&gt;Got the program, but I need a bit more info.&lt;BR /&gt;Where approx. is it crashing? In the qsort?&lt;BR /&gt;As I don't have a database with the same structure as yours, I cannot run it; and as it's about 3000 lines long, I'd like to know where I should start looking.  ;-)&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Dec 2000 07:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476610#M776297</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-12-27T07:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Att: Dan Hetzel    about that C program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476611#M776298</link>
      <description>Hi Rita,&lt;BR /&gt;&lt;BR /&gt;ORA-01458: invalid length inside variable character string &lt;BR /&gt;&lt;BR /&gt;Cause: An attempt was made to bind or define a variable character string with a buffer length less than the two-byte &lt;BR /&gt;minimum requirement. &lt;BR /&gt;&lt;BR /&gt;You have a few "dummy" variables defined as a 1 byte character string:&lt;BR /&gt;claim_trans_seq_num&lt;BR /&gt;payee_seq_num&lt;BR /&gt;payee_name&lt;BR /&gt;comp_code&lt;BR /&gt;They are all defined at the same location in your source.&lt;BR /&gt;&lt;BR /&gt;Could you modify these and check if the program runs ?&lt;BR /&gt;-&amp;gt;&amp;gt; change the [1] to [32] for example....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Dec 2000 08:17:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476611#M776298</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-12-27T08:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Att: Dan Hetzel    about that C program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476612#M776299</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;I realised that those variables were unused in the program so it won't probably help to resize them.&lt;BR /&gt;Did you try putting a few 'printf' statements in the code to check your data?&lt;BR /&gt;Does someone of your team know how to use a debugger?&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Dec 2000 09:45:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476612#M776299</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-12-27T09:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Att: Dan Hetzel    about that C program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476613#M776300</link>
      <description>HI again Rita:&lt;BR /&gt;&lt;BR /&gt;Your code has slen defined as macro. &lt;BR /&gt;&lt;BR /&gt;#define slen(xx).......&lt;BR /&gt;You can comment out this line and create a new function named slen.&lt;BR /&gt;&lt;BR /&gt;In this funtion you can check var.len against sizeof(var.arr).&lt;BR /&gt;&lt;BR /&gt;In case len were greater than sizeof(var.arr) make some treatament.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;But if the program was running ok perhaps the problem were data to be treat.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Dec 2000 12:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/att-dan-hetzel-about-that-c-program/m-p/2476613#M776300</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2000-12-27T12:40:00Z</dc:date>
    </item>
  </channel>
</rss>

