Skip to Content
0
Former Member
Apr 13, 2010 at 12:05 AM

Script Logic Error

31 Views

Can someone help me with this script logic. It gives error on REC statement saying that its an invalid instruction.

// Default base level logic - applies to all base members in all dimensions

*SELECT (%MBRS%,"ID","PRODUCT",[DUMMY]='PF1_D')

*XDIM_ADDMEMBERSET PRODUCT = %MBRS%

*XDIM_ADDMEMBERSET DATASRC = INPUTPER

*DESTINATION DATASRC=INPUT

*FOR %PRODUCT% = %MBRS%

REC(EXPRESSION=%VALUE%GET(DATASRC="INPUTPER",PRODUCT=%PRODUCT%),DATASRC="INPUT",PRODUCT=%PRODUCT%)

*NEXT

*COMMIT