When I try to validate the below LGF script , I get the error message " Invalid MDX command with ""
*XDIM_MEMBERSET FLOW=BAS(Opening)
//This reads the opening balance plus changes values into memory.
*XDIM_ADDMEMBERSET FLOW=Balance
//This reads the F_CB closing balance values into memory.
*XDIM_MEMBERSET INTERCO=TotalInterco
//This reads the I_NONE member values into memory.
*WHEN C_ACCT.GROUP
//When accounts with a group property value of ...
*IS PL
//Is PL Profit and Loss, Sum those accounts
*WHEN FLOW
//When the Flow dimension
*IS Balance
//Is F_CB Closing Balance
*WHEN INTERCO
//When the Intco dimension
*IS TotalInterco
//Is I_NONE
*REC(C_ACCT=BS212,FLOW=Appropriation,INTERCO=TotalInterco)
*REC(C_ACCT=BS212,FLOW=Balance,INTERCO=TotalInterco)
*ENDWHEN *ENDWHEN *ENDWHEN [FLOW].
[#CIS]=IIF([C_ACCT].CURRENTMEMBER.PROPERTIES(DIMLIST1)=L1_V
//If the Dimlist property is L1_V //Then: Variance = Closing Balance - Opening Balance - Acquisitions + Returns, //otherwise it is zero
*COMMIT
*[FLOW].[#F_ERR]=IIF([C_ACCT].CURRENTMEMBER.PROPERTIES(DIMLIST1)=L1_E,[FLOW].[Balance]
//If the Dimlist property is L1_E, //Then: Error = Closing Balance - Opening Balance - Acquisitions + Returns, //otherwise it is zero
*COMMIT
I am not able to understand what wrong in the Script Logic