DbClobWrite

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean DbClobWrite( SalSqlHandle hSql,
		     SalString sMethodName,
		     SalString sObjid,
                     ref SalString sObjversion,
		     SalString sCLOBData )

The DbClobWrite method writes a CLOB to the database using a PL/SQL procedure.

Parameters

Name Description
SalSqlHandle hSql Handle that identifies the database connection
SalString sMethodName PLSQL method that updates the CLOB.
SalString sObjid OBJID to the record the CLOBshould be read from.
SalString sObjversion OBJVERSION to the record the CLOB should be written to. Normally, the PLSQL method uses this to lock the record for update and returns the new objversion if the update succeeded.
SalString sCLOBData CLOB value that should be stored

Returns

TRUE if the operation succeeded, FALSE otherwise.

Comments

The PL/SQL method must have a certain list of arguments in order to work with the DbClobWrite method. Details and examples can be found in the Large Objects section in Development Guide for IFS/Base Server.

Example

add new C# coding samples

Set sObjversion = DataRecordVersionGet(  ) 
Set bOK = DbClobWrite( c_hSql, 'LOB_API.Write_Text__', DataRecordIdGet( ), sObjversion , sMyClobData )