swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   dbProcedureExecute   OMDN

Library: omdbext - extended high level database support
Include: omdbext.xin

Declaration

  define external function dbProcedureExecute
                 value          dbProcedure     procedure
       in       read-only     stream      in      optional
       null     value          stream      null    optional
       out      modifiable   dbField     out     optional
       result    modifiable   dbField    result   optional

Where:
procedure


in
null
out
result

Purpose

This function executes a stored procedure.

At the beginning of the function, the output shelf is cleared and filled with dbField items attached to the output and inout (combined input and output) procedure parameters. The input shelf items are sequentially matched to the procedure input parameters by position. You can represent NULL values in the input shelf item by an optional null specifier string or as an unattached stream.

The result shelf is cleared in the function. If the procedure returns a result value or record, the result shelf is filled with dbField items attached to the results. The data value is extracted from the output and return parameters in a subsequent call to the dbFieldValue function.

The output and result dbField field items are keyed with the name of the procedure parameter, if one exists.

Date and time fields

If a record used by the procedure has a date, time, or timestamp field, you must represent the field's value in the OmniMark Date and Time library format. (This format returns the time with a time zone offset from UTC time, which most databases do not provide.)

        Other Library Functions
   dbCommit
   dbProcedureClose
   dbProcedureExecute
   dbProcedureOpen
   dbRollback
   dbSetTransactionType
   dbStatementCompile
   dbStatementDiscard
   dbStatementExecute
 
----  

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:06 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.