Skip to content

Commit

Permalink
Merge pull request #9 from cubewise-code/master
Browse files Browse the repository at this point in the history
Rebase from master
  • Loading branch information
lotsaram committed Jun 14, 2023
2 parents 2d588ee + 6410398 commit 5b53038
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
14 changes: 7 additions & 7 deletions main/}bedrock.cube.dimension.add.pro
Expand Up @@ -271,7 +271,7 @@ EndIf;
IF(pIncludeRules = 1 % pIncludeRules = 2);

sProc = '}bedrock.cube.rule.manage';
nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCube,
Expand Down Expand Up @@ -299,7 +299,7 @@ IF(pIncludeData = 1);
nSuppressRules = IF(nIncludeRules = 1, 1, 0);

sProc = '}bedrock.cube.clone';
nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pSrcCube', pCube,
Expand Down Expand Up @@ -357,8 +357,8 @@ IF(pIncludeData = 1);
'pFilter','',
'pTgtCube',pCube,
'pMappingToNewDims',sMappingToNewDims,
'pSuppressConsol', 1,
'pSuppressRules', nSuppressRules,
'pSuppressConsol', 1,
'pSuppressRules', nSuppressRules,
'pZeroTarget',0,
'pZeroSource',0,
'pFactor',1,
Expand All @@ -382,7 +382,7 @@ IF(pIncludeData = 1);
# destroy clone cube
IF(pTemp=1);
sProc = '}bedrock.cube.delete';
nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCloneCube,
Expand All @@ -408,7 +408,7 @@ IF(pIncludeRules = 2);

sProc = '}bedrock.cube.rule.manage';

nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCube,
Expand All @@ -427,7 +427,7 @@ IF(pIncludeRules = 2);
LogOutput(cMsgErrorLevel, 'Rule could not be attached due to invalid !Dimension references. Please recover from the backup and fix manually.');
ENDIF;

EXECUTEPROCESS( sProc,
ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCube,
Expand Down
10 changes: 5 additions & 5 deletions main/}bedrock.cube.dimension.delete.pro
Expand Up @@ -229,7 +229,7 @@ IF(pIncludeRules = 1 % pIncludeRules = 2);

sProc = '}bedrock.cube.rule.manage';

nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCube,
Expand All @@ -256,7 +256,7 @@ IF(pIncludeData = 1);
nSuppressRules = IF(nIncludeRules = 1, 1, 0);

sProc = '}bedrock.cube.clone';
nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pSrcCube', pCube,
Expand Down Expand Up @@ -340,7 +340,7 @@ IF(pIncludeData = 1);
# destroy clone cube
IF(pTemp=1);
sProc = '}bedrock.cube.delete';
nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCloneCube,
Expand All @@ -366,7 +366,7 @@ IF(pIncludeRules = 2);

sProc = '}bedrock.cube.rule.manage';

nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCube,
Expand All @@ -385,7 +385,7 @@ IF(pIncludeRules = 2);
LogOutput(cMsgErrorLevel, 'Rule could not be attached due to invalid !Dimension references. Please recover from the backup and fix manually.');
ENDIF;

EXECUTEPROCESS( sProc,
ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCube,
Expand Down
14 changes: 7 additions & 7 deletions main/}bedrock.cube.dimension.replace.pro
Expand Up @@ -281,7 +281,7 @@ EndIf;
IF(pIncludeRules = 1 % pIncludeRules = 2);
sProc = '}bedrock.cube.rule.manage';

nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCube,
Expand Down Expand Up @@ -309,7 +309,7 @@ IF(pIncludeData = 1);
nSuppressRules = IF(nIncludeRules = 1, 1, 0);

sProc = '}bedrock.cube.clone';
nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pSrcCube', pCube,
Expand Down Expand Up @@ -369,8 +369,8 @@ IF(pIncludeData = 1);
'pFilter','',
'pTgtCube',pCube,
'pMappingToNewDims',sMappingToNewDims,
'pSuppressConsol', 1,
'pSuppressRules', nSuppressRules,
'pSuppressConsol', 1,
'pSuppressRules', nSuppressRules,
'pZeroTarget',0,
'pZeroSource',0,
'pFactor',1,
Expand All @@ -394,7 +394,7 @@ IF(pIncludeData = 1);
# destroy clone cube
IF(pTemp=1);
sProc = '}bedrock.cube.delete';
nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCloneCube,
Expand All @@ -420,7 +420,7 @@ IF(pIncludeRules = 2);

sProc = '}bedrock.cube.rule.manage';

nRet = EXECUTEPROCESS( sProc,
nRet = ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCube,
Expand All @@ -439,7 +439,7 @@ IF(pIncludeRules = 2);
LogOutput(cMsgErrorLevel, 'Rule could not be attached due to invalid !Dimension references. Please recover from the backup and fix manually.');
ENDIF;

EXECUTEPROCESS( sProc,
ExecuteProcess( sProc,
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pCube', pCube,
Expand Down
8 changes: 4 additions & 4 deletions main/}bedrock.dim.clone.pro
Expand Up @@ -437,7 +437,7 @@ If( pHier @= '*' );
If(nElestart > 1);
vSourceHierarchy = SUBST(sEle,nElestart,nElength);
If ( vSourceHierarchy @<> 'Leaves');
nRet = EXECUTEPROCESS('}bedrock.hier.clone',
nRet = ExecuteProcess('}bedrock.hier.clone',
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pSrcDim', sDim,
Expand Down Expand Up @@ -470,7 +470,7 @@ ElseIf( Scan( '*', pHier )=0 & Scan( '?', pHier )=0 & Scan( pDelim, pHier )=0 &
sMessage = Expand( 'Hierarchy "%sCurrHierName%" in Dimension "%sDim%" being processed....' );
LogOutput( 'INFO', Expand( cMsgInfoContent ) );
EndIf;
nRet = EXECUTEPROCESS('}bedrock.hier.clone',
nRet = ExecuteProcess('}bedrock.hier.clone',
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pSrcDim', sDim,
Expand Down Expand Up @@ -513,7 +513,7 @@ ElseIf( Scan( '*', pHier )=0 & Scan( '?', pHier )=0 & Trim( pHier ) @<> '' );
sMessage = Expand( 'Hierarchy "%sCurrHierName%" in Dimension "%sDim%" being processed....' );
LogOutput( 'INFO', Expand( cMsgInfoContent ) );
EndIf;
nRet = EXECUTEPROCESS('}bedrock.hier.clone',
nRet = ExecuteProcess('}bedrock.hier.clone',
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pSrcDim', sDim,
Expand Down Expand Up @@ -580,7 +580,7 @@ ElseIf( Trim( pHier ) @<> '' );
sMessage = Expand( 'Hierarchy "%sCurrHierName%" in Dimension "%sDim%" being processed....' );
LogOutput( 'INFO', Expand( cMsgInfoContent ) );
EndIf;
nRet = EXECUTEPROCESS('}bedrock.hier.clone',
nRet = ExecuteProcess('}bedrock.hier.clone',
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pSrcDim', sDim,
Expand Down
2 changes: 1 addition & 1 deletion main/}bedrock.hier.clone.pro
Expand Up @@ -453,7 +453,7 @@ EndIf;

### If a new dimension has been created, call the process recursively to clone the alternate hierarchy, after the same named hierarchy has been processed
If( nProcessSameNamedHier = 1 );
nRet = EXECUTEPROCESS('}bedrock.hier.clone',
nRet = ExecuteProcess('}bedrock.hier.clone',
'pLogOutput', pLogOutput,
'pStrictErrorHandling', pStrictErrorHandling,
'pSrcDim', pSrcDim,
Expand Down

0 comments on commit 5b53038

Please sign in to comment.