Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: OCI Call Inteface Problem (OCILobFileGetName)
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