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

Home -> Community -> Usenet -> c.d.o.misc -> Re: OCI Call Inteface Problem (OCILobFileGetName)

Re: OCI Call Inteface Problem (OCILobFileGetName)

From: <mgogala_at_rocketmail.com>
Date: Fri, 04 Dec 1998 16:51:06 GMT
Message-ID: <7493tl$e4h$1@nnrp1.dejanews.com>


In article <748u1f$8t4$1_at_nnrp1.dejanews.com>,   chris_highfield_at_hotmail.com wrote:
> I have been using various parts of the Oracle Call Interface to retreive
> external LOB data from an Oracle database. The application has been working
> successfully apart from the OCILobFileGetName function which when called
> returns the following error:
>
> "OCI-21560 Argument 3 is null, invalid or out of range"
>
> Argument 3 is the lob locator which must be correct as all other OCI calls
> using it work correctly (OCILobGetLength, OCILobRead etc). The function call
> used in my code is below:
>
> OCILobFileGetName(envhp,
> erhp,
> loblochp,
> dir_alias,
> &d_length,
> (text *) pFileName,
> &f_length )
>
> Any assistance would be much appreciated.
>
> Regards,
>
> Chris - chris_highfield_at_hotmail.com
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>

Locator is probably allocated using OCI_DTYPE_LOB instead of OCI_DTYPE_FILE.

--
Mladen Gogala

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Fri Dec 04 1998 - 10:51:06 CST

Original text of this message

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