msiRdaToDataObj ( msParam_t *  inpRdaName,
msParam_t *  inpSQL,
msParam_t *  inpParam1,
msParam_t *  inpParam2,
msParam_t *  inpParam3,
msParam_t *  inpParam4,
msParam_t *  inpOutObj,
ruleExecInfo_t *  rei 
)
Description:
This microservice calls new RDA functions to interface to an arbitrary database (under iRODS access control), getting results (i.e. from a query) and writing them to an open DataObject.
Module:
core
Since:
pre-2.1
Author:
Wayne Schroeder
Date:
2008-05-15
Note:
This is being replaced with the new 'Database Resources' feature, see https://www.irods.org/index.php/RDA
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] inpRdaName - a STR_MS_T, name of the RDA being used
[in] inpSQL - a STR_MS_T which is the SQL
[in] inpParam1 - Optional - STR_MS_T parameters (bind variables) to the SQL.
[in] inpParam2 - Optional - STR_MS_T parameters (bind variables) to the SQL.
[in] inpParam3 - Optional - STR_MS_T parameters (bind variables) to the SQL.
[in] inpParam4 - Optional - STR_MS_T parameters (bind variables) to the SQL.
[in] inpOutObj - a INT_MS_T, open descriptor to write results to.
[in,out] rei - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation.
Session Variables Used:
none
Session Variables Modified:
none
iCAT Attributes Used:
none
iCAT Attributes Modified:
none
Side Effect:
none
Returns:
integer
Return values:
0 on success
Precondition:
none
Postcondition:
none
See also:
none

Definition at line 200 of file reRDA.c.

Generated on Thu Oct 31 10:28:28 2013 for iRODS Documentation by  doxygen 1.6.3