Hello Experts,
I have used "combobox" option in prompt of Data Manager Package Script as shown below in red color:
PROMPT(SELECTINPUT,,,,,%TIME_DIM%)
PROMPT(COMBOBOX,%PRC%,"Select PRC:",0,,{TESTDIM})
'PROMPT(TEXT,%PRC%,"PRC",)
INFO(%EQU%,=)
'INFO(%TAB%,;)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SUSER,%USER%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPP,%APP%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,LOGICFILENAME,UJ_MAPPING_BR2.LGF)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,REPLACEPARAM,PRC%EQU%%PRC%)
My requirement is to pass this variable "%PRC%" in script logic of account transformation business rule so that the business rule run for only members which are selected by user while running DMP.
Can anyone help me on how to call the variable in Script logic of Business Rule. I tried the as shown below in red color but it didn't work for me:
*RUN_PROGRAM CALC_ACCOUNT//
//*XDIM_MEMBERSET PRC as %GMS% = $PRC$
CATEGORY = ACT
CURRENCY = SEK
TID_RA = %TIME_SET%
AUDITID = BAS(ALL_DATASOURCES)
OTHER=[ENTITY=$PRC$]
CALC = EA_LOGIC
*ENDRUN_PROGRAM
Regards,
Apoorva