Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The xpxConvertModelsWithParametersEx() function can be called from a query in the same way as calling a function, i.e., after the conversion is finished the result (the converted model) is ready to be used in the calling query. All other xpxConvertModel . . . functions invoked from a query will be set in a XPX convertModel queue, i.e., the conversion execution will not start before the calling query is finished.

The xpxConvertModelsWithParametersEx() functions cannot be nested. When the option USE_EXISTING_MODEL is used, an open write transaction on the target model must be started before the xpxConvertModelsWithParametersEx() is invoked.

xpxConvertModelsWithParametersEx
Code Block
title
Code Block
languagecpp
themeConfluence
FUNCTION xpxConvertModelsWithParametersEx (sourceModelsName, mapSchemaName : STRING;
                                           targetModelName                 : STRING;
                                           declarationsToLog               : STRING;
                                           logFile                         : STRING;
                                           maxLogFileSize                  : INTEGER;
                                           userOutputFile                  : STRING;
                                           options                         : INTEGER;
                                           VAR targetModelId               : GENERIC;
                                           VAR userDefinedStatus           : INTEGER;
                                           VAR numberOfErrors              : INTEGER;
                                           numberOfUserParameters          : INTEGER;
                                           userPar1,userPar2, ... userParN : GENERIC	)  status : INTEGER;

...


This function can be called from a query in the same way as calling a function, i.e., after the conversion is finished the result (the converted model) is ready to be used in the calling query. All other xpxConvertModel . . . functions invoked from a query will be set in a XPX convertModel queue, i.e., the conversion execution will not start before the calling query is finished. The xpxConvertModelsWithParametersEx() functions cannot be nested. When the option XPX_USE_EXISTING_MODEL is used, an open write transaction on the target model must be started before the xpxConvertModelsWithParametersEx() is invoked.

Arguments

...

Insert excerpt
US:_a_sourceModelsName
US:_a_sourceModelsName
nopaneltrue
Insert excerpt
US:_a_mapSchemaName
US:_a_mapSchemaName
nopaneltrue
Insert excerpt
US:_a_targetModelName
US:_a_targetModelName
nopaneltrue
Insert excerpt
US:_a_declarationsToLog
US:_a_declarationsToLog
nopaneltrue
Insert excerpt
US:_a_logFile
US:_a_logFile
nopaneltrue
 
Insert excerpt
US:_a_maxLogFileSize
US:_a_maxLogFileSize
nopaneltrue
Insert excerpt
US:_a_userOutputFile
US:_a_userOutputFile
nopaneltrue
Insert excerpt
US:_a_options_XPX
US:_a_options_XPX
nopaneltrue
Insert excerpt
US:_a_targetModelId_XPX
US:_a_targetModelId_XPX
nopaneltrue
Insert excerpt
US:_a_userDefinedStatus_XPX
US:_a_userDefinedStatus_XPX
nopaneltrue
Insert excerpt
US:_a_numberOfErrors
US:_a_numberOfErrors
nopaneltrue
Insert excerpt
US:_a_numberOfUserParameters
US:_a_numberOfUserParameters
nopaneltrue
Insert excerpt
US:_a_userPar
US:_a_userPar
nopaneltrue

Return Value

...

Insert excerpt
US:_r_XPX_Return_Value
US:_r_XPX_Return_Value
nopaneltrue

Options

...

<arguments missing>

 

Example

...

<example missing>

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "5636522"