Here is my TI process to execute 4 different process through execute process function. I have mention my Process for your consideration. I am getting following error while i am trying to save this process
"Syntax error on or before:
[pversion,vVersion
Invalid String Expression"
Could you please let me know the reason behind the error or How would i rectify my error?
Code: Select all
vVersion='Actual';
vCube='Input';
vYrEndVersion='Prior Actual';
pProsave = TRIM('SaveDataAll');
pPro1 = TRIM('YearEnd Version Source View Create - 1');
pPro2 = TRIM('YearEnd Source to Destination Version RollOver -2');
pPro3 = TRIM('YearEnd Version Source View Delete - 3');
pPro4 = TRIM('Year End Version ZeroOut - 4');
ExecuteProcess(pPro1, [pVersion, vVersion, pCube, vCube]); ## this is the error line [pVersion,vVersion invalid string expression
rValue=ExecuteProcess(pPro1, [pVersion, vVersion, pCube, vCube]);
IF(rValue=processexitnormal());
Executeprocess(pPro2);
Else;
ProcessQuit;
Endif;
rValue2=ExecuteProcess(pPro2, [pYrEndVersion, vYrEndVersion, pCube, vCube]);
IF((rValue=processexitnormal()) & (rValue2=processexitnormal()));
Executeprocess(pProsave);
Else;
Processquit;
Endif;
rValue3=ExecuteProcess(pPro3, [ pCube, vCube]);
IF((rValue=processexitnormal()) & (rValue2=processexitnormal()) & (rValue3=processexitnormal()));
Executeprocess(pProsave);
Else;
Processquit;
Endif;
rValue4=ExecuteProcess(pPro4, [pCube, vCube,pVersion,vVersion]);
IF((rValue=processexitnormal()) & (rValue2=processexitnormal()) & (rValue3=processexitnormal() & (rValue4=processexitnormal()));
Executeprocess(pProsave);
Else;
Processquit;
Endif;
Dharav