To be completed
Related functions: edmiRemoteValidateInstance, edmiRemoteValidateInstanceType, edmiRemoteValidateGlobalRule, edmiRemoteValidateModel, edmiRemoteValidateWhereRule
Header:
#include "sdai.h"
Prototype:
EdmiError edmiRemoteValidateInstances (SdaiServerContext serverContextId,
SdaiAggrOrInstance aggrOrInstId,
SdaiInstance instanceBuffer[],
SdaiString diagnosticFile,
SdaiInteger nFileMappings,
SdaiFileMapping fileMapping[],
SdaiOptions options,
SdaiString remoteRuleSchemaName,
SdaiLogDescription logDescription,
SdaiInteger numberOfParameters,
SdaiSelect parameters[],
SdaiSelect userReturnedValue,
SdaiInteger *warnings,
SdaiInteger *errors,
SdaiInvocationId *edmiInvocationId);
Arguments:
serverContextId |
Context identification, from edmiDefineServerContext |
aggrOrInstId |
|
instanceBuffer |
|
diagnosticFile |
Specifies the file name for diagnostic information generated by this function. If no file name is supplied, i.e. the <diagnosticFile> argument is set to NULL, all diagnostic information will be written to the _EDMinterface_ current output device. The _EDMinterface_ current output device can be defined by the edmiDefineOutputFunction operation. |
nFileMappings |
|
fileMapping[] |
|
options |
Specifies the options that will be used in the execution of the edmiRemoteValidateInstances function. The options value should be specified as a bitwise OR between the options to be enabled. All available options are defined in the header file sdai.h . An option value equals zero gives the default options. See below for a detailed description of the available options. |
remoteRuleSchemaName |
Specifies the name of the remote EDMruleSchema to use in the validation operation. Rule schema names are case insensitive. |
logDescription |
|
numberOfParameters |
Specifies the number of parameters the function supplies to the actual validation process. |
parameters[] |
|
userReturnedValue |
|
warnings |
The address of a variable that will receive the number of warnings detected by the EDMexpressCompiler in the current invocation. |
errors |
The address of a variable that will receive the number of errors detected by the EDMexpressCompiler in the current invocation. |
edmiInvocationId |
Not yet used. When the edmiInvocationId is specified unequal NULL, the actual operation will be asynchronous and a handle (identifier) of the call will be returned in the edmiInvocationId argument. |
Options: Descriptions:
|
|
Returns:
A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0 : Operation successfully performed.
Completion code != 0: Error in operation. Completion code is an _EDMinterface_ error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE
EdmiError rstat;
. . .