Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Urgent : Problems with Pro*C Code

RE: Urgent : Problems with Pro*C Code

From: Abdul Aleem <abchaudhary-ho_at_beaconhouse.edu.pk>
Date: Thu, 19 Oct 2000 18:16:07 +0500
Message-Id: <10654.119777@fatcity.com>


Just came to mind, does your Pro*C code involve Direct Memory Access and/or structures to hold records?

 -----Original Message-----

From: 	Cale, Rick T (Richard) [mailto:RICHARD.T.CALE_at_saic.com] 
Sent:	Wednesday, October 18, 2000 4:45 PM
To:	Multiple recipients of list ORACLE-L
Subject:	RE: Urgent : Problems with Pro*C Code

This is almost impossible to answer.

The first thing I would check is to make sure all your variables declarations are large enough to
hold the data. It is obvious you are trashing on memory somewhere. All C programmers has been
has been there on more than one occassion. If you are satisified with your declarations then you will either have to use the debugger to
step through to see where memory is getting corrupted. Sometimes instead of debugging I often comment out suspect code and run. If it works add a little
back in at a time.

Rick

> -----Original Message-----
> From: Kamesh.J.Mantri_at_citicorp.com [SMTP:Kamesh.J.Mantri_at_citicorp.com]
> Sent: Wednesday, October 18, 2000 6:26 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Urgent : Problems with Pro*C Code
>
> Hi Listers,
> We are running Oracle 7.3.4 on HP-UX.
> My server has Pro*C code which selects some records from a table in the
> database.
>
> The select syntax with bind varaibles is fine.
> The server runs fine for many hours continously. But after sometime the
> same
> select on the same table
> with the same data in the table gives any of these errors..
>
> ORA-02112 "too many rows"
>
> or
>
> ORA-01036 "illegal variable name/number"
>
>
> Sometimes if the select is successful the values filled into bind
> variables are
> garbage.
>
> Cud anyone help us in this regard asap.
>
> Thanks
> Kamesh.
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: Kamesh.J.Mantri_at_citicorp.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Cale, Rick T (Richard)
  INET: RICHARD.T.CALE_at_saic.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
Received on Thu Oct 19 2000 - 08:16:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US