A piece of code that has been working for months is all of a sudden broken and I can't isolate what change occurred to break it. Here is the code:
Code: Select all
nbrTotalPutCommitments = CELLGETN(strCubeNm, strEmplOrgSectionAllElem, strProjOrgSectionAllElem, strTaskOrgSectionAllElem, strActvCtrAllElem,
strProjTaskAllElem, strFWkAllElem, strAgmtAllElem, strExpTypeAllElem, strProjTypeAllElem, strDeptSoftshellAllElem, strDivSoftshellAllElem,
strCenterSoftshellAllElem, strSBUSoftshellAllElem, strTIProcessElement, strActualsElement, strCommitmentElement);
nbrTotalPutRecordCount = CELLGETN(strCubeNm, strEmplOrgSectionAllElem, strProjOrgSectionAllElem, strTaskOrgSectionAllElem, strActvCtrAllElem,
strProjTaskAllElem, strFWkAllElem, strAgmtAllElem, strExpTypeAllElem, strProjTypeAllElem, strDeptSoftshellAllElem, strDivSoftshellAllElem,
strCenterSoftshellAllElem, strSBUSoftshellAllElem, strTIProcessElement, strActualsElement, strTxnCntElement);
TEXTOUTPUT(strTextOutputFileName, 'Epilog: nbrTotalPutCommitments' , NUMBERTOSTRING(nbrTotalPutCommitments));
TEXTOUTPUT(strTextOutputFileName, 'Epilog: nbrTotalPutRecordCount' , NUMBERTOSTRING(nbrTotalPutRecordCount));
I used TEXTOUTPUT commands to display the values of the cube name and the dimension elements prior to the CELLGETN statement and all of them are correct. When I open the cube viewer, the cube returns normal, non-zero numeric values in the cells being read. Just to make sure nothing weird had happened to the cube somehow, I deleted and re-created the cube. Still the same issue. There are no string elements in any of the dimensions in the cube -- they are all simple/N. Any thoughts/ideas on how to hunt down this issue?