Request help in writing a allocation logic code.
The current runs for 2600 Projects and 12000 customers. This causes memory issue and the code is aborted when run.
Please suggest if this code can be run in a For/Next loop for each project..
....
*XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
*XDIM_MEMBERSET TIME = %TIME_SET%
*WHEN ACCOUNT
*IS "A1100001"
*REC(EXPRESSION = ([ACCOUNT].[A1100001])*((%VALUE%)),ACCOUNT = "A3100001")
*ENDWHEN
*XDIM_MEMBERSET TIME = %TIME_SET%
*XDIM_MEMBERSET ACCOUNT = BAS(MET-SAL.3.1)
*XDIM_MEMBERSET P_PROJECT = BAS(AllProjects)
*XDIM_ADDMEMBERSET P_PROJECT = NO_PROJECT
*XDIM_MEMBERSET P_DEPARTMENT = ESG_Input
*XDIM_MEMBERSET P_ENTITY = TTEU_INP
*XDIM_MEMBERSET P_CUSTOMER = No_Customer
*XDIM_ADDMEMBERSET P_CUSTOMER = BAS(AllCustomers)
*XDIM_MEMBERSET P_ANALYSIS = BAS(AllAnalysis)
*XDIM_ADDMEMBERSET P_ANALYSIS = NO_ANALYSIS
*RUNALLOCATION
*FACTOR = 1
*DIM ACCOUNT WHAT = BAS(MET-SAL.3.1) ; WHERE = <<<;USING = <<<;TOTAL = <<<
*DIM P_PROJECT WHAT = NO_PROJECT ;WHERE = <<< ;USING = <<<;TOTAL = <<<
*DIM P_DEPARTMENT WHAT = ESG_Input ;WHERE = <<< ;USING = <<<;TOTAL = <<<
*DIM P_ENTITY WHAT = TTEU_INP ;WHERE = <<< ;USING = <<<;TOTAL = <<<
*DIM P_ANALYSIS WHAT = NO_ANALYSIS ;WHERE = BAS(AllAnalysis) ;USING = <<<;TOTAL = <<<
*DIM P_CUSTOMER WHAT = No_Customer ;WHERE = BAS(AllCustomers) ;USING = <<<;TOTAL = <<<
*ENDALLOCATION
next