Then:
*XDIM_MEMBERSET CATEGORY=Plan
*XDIM_MEMBERSET P_ENTITY=ABC
*XDIM_MEMBERSET RPTCURRENCY=LC
*XDIM_MEMBERSET TIME=%TIME_SET% //From DM input Prompt
*XDIM_MEMBERSET PP_RM=RM_ALL (Base Member)
*XDIM_MEMBERSET PROD_SCHEDULLING=PS_005 (Base Member)
*XDIM_MEMBERSET PROD_ACCOUNT=PP_SA_0013 (Production)
*XDIM_MEMBERSET PRODUCT=<ALL> //All members, only base will be used in the WHEN/ENDWHEN loop
*XDIM_MEMBERSET PLANTS = PLANT1, PLANT2
*DESTINATION_APP Windmill
*SKIP_DIM = PP_RM,PROD_SCHEDULLING,PROD_ACCOUNT,PRODUCT,PLANTS
*ADD_DIM WINDMILL = WM1, WM_ACCOUNT = WM_001, UOM = KWH
//will write to WM1,WM_001,KWH
*WHEN PROD_ACCOUNT //just any dimension
*IS *
*REC(EXPRESSION=%VALUE%)
*ENDWHEN
Will accumulate all products and all plants!
B.R. Vadim