edmiGetGlobalRule

EdmiError edmiGetGlobalRule (SdaiInstance   schemaId,
                              SdaiString     globalRuleName, 
                              SdaiGlobalRule *globalRuleId); 

Returns the globalRuleId that uniquely identifies the specified global rule in an EDMdatabase. A global rule is defined in a dictionary model (Express schema) or in an EDMruleSchema. A global rule name is unique within the Express schema or the EDMruleSchema that defines the actual global rule. The actual dictionary model that hold the global rule definition must be open before this operation can be successfully performed.

Arguments


TypeNameComment
SdaiInstance

schemaId

A schemaID that uniquely identifies the dictionary model (Express schema) that defines the actual global rule, or a ruleSchemaID that uniquely identifies the EDMruleSchema that defines the actual global rule.

SdaiString

globalRuleName

The name of the global rule of interest. Global rule names are case insensitive. A global rule name are unique within the Express schema or the EDMruleSchema that defines the actual global rule.

SdaiGlobalRule

globalRuleId

Address of a variable that will receive the globalRuleId that uniquely identifies a global rule in an EDMdatabase.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

 <SdaiInstance schemaId;
 EdmiError rstat;
 SdaiGlobalRule globalRuleId;
 . . .
 if (rstat = edmiGetGlobalRule (schemaId, 
 "compatible_dimension",
 &globalRuleId)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiGetGlobalRule \n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 printf("\nGlobalRuleId: %lu", globalRuleId);
 . . . 

 

See also

Filter by label

There are no items with the selected labels at this time.

Â