msiDataObjCreate ( msParam_t *  inpParam1,
msParam_t *  msKeyValStr,
msParam_t *  outParam,
ruleExecInfo_t *  rei 
)
Description:
Creates a data object in the iCAT.
Module:
core
Since:
2.1
Author:
Mike Wan
Date:
2007
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] inpParam1 - A DataObjInp_MS_T or STR_MS_T which would be taken as dataObj path.
[in] msKeyValStr - Optional - a STR_MS_T. This is the special msKeyValStr format of keyWd1=value1++++keyWd2=value2++++keyWd3=value3... If the keyWd is not specified (without the '=' char), the value is assumed to be the target resource ("destRescName") for backward compatibility. Valid keyWds are:

  • "destRescName" - the target resource.
  • "forceFlag" - overwrite existing copy. This keyWd has no value. But the '=' character is still needed
  • "createMode" - the file mode of the data object.
  • "dataType" - the data type of the data object.
  • "dataSize" - the size of the data object. This input is optional.
[out] outParam - a INT_MS_T containing the descriptor of the create.
[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 60 of file reDataObjOpr.c.

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