Skip Headers

Oracle Call Interface Programmer's Guide
Release 2 (9.2)

Part Number A96584-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

More OCI Relational Functions, 28 of 106


OCILobFileSetName()

Purpose

Sets the directory alias and file name in the FILE locator.

Syntax

sword OCILobFileSetName ( OCIEnv             *envhp,
                          OCIError           *errhp,
                          OCILobLocator      **filepp,
                          CONST text         *dir_alias,
                          ub2                d_length, 
                          CONST text         *filename, 
                          ub2                f_length );

Parameters

envhp (IN/OUT)

OCI environment handle. Contains UTF-16 setting.

errhp (IN/OUT)

An error handle you can pass to OCIErrorGet() for diagnostic information in the event of an error.

filepp (IN/OUT)

Pointer to the FILE locator for which to set the directory alias and file name.

dir_alias (IN)

Buffer that contains the directory alias name (can be in UTF-16 in OCI_UTF16 environment) to set in the FILE locator.

d_length (IN)

Length of the input dir_alias parameter. In bytes.

filename (IN)

Buffer that contains the file name (can be in UTF-16 in OCI_UTF16 environment) to set in the FILE locator.

f_length (IN)

Length of the input filename parameter. In bytes.

Comments

It is an error to call this function for an internal LOB.

See Also:

For more information about FILEs, refer to the description of BFILEs in the Oracle8i Application Developer's Guide - Large Objects (LOBs).

Related Functions

OCILobFileGetName(), OCIErrorGet()


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback