Skip to Content
0
Former Member
Nov 24, 2011 at 01:45 PM

Passing parameters to Logic script from DTS

132 Views

I have problems to use a parameter in my logic file that I create using EvModifyPkg.

 PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
PROMPT(TEXT,%FRWEEK%,"Select a Week to Copy from",,"")
PROMPT(TEXT,%TOWEEK%,"Select a list of Weeks to Copy to",,"")
TASK(Execute formulas,USER,%USER%)
TASK(Execute formulas,APPSET,%APPSET%)
TASK(Execute formulas,APP,%APP%)
TASK(Execute formulas,LOGICFILE,"%LOGICPATH%CopyWeeks.lgf")
TASK(Execute formulas,FORMULASCRIPT,"*FUNCTION FRWEEK=%FRWEEK%")
TASK(Execute formulas,FORMULASCRIPT,"*FUNCTION TOWEEK=%TOWEEK%")
TASK(Execute formulas,RUNMODE,1)
TASK(Execute formulas,LOGICMODE,1)
TASK(Execute formulas,CHECKLCK,%CHECKLCK%)

This is my DTS package code.

In my Logic file I have the following reference to %FRWEEK%

*XDIM_MEMBERSET TIMEW=%FRWEEK%

I keep getting the error Invalid member %FRWEEK%

Is there something I'm missing in my setup?