Skip to Content
0
Former Member
May 19, 2012 at 01:05 PM

How to make the year dynamic

22 Views

Hi

I have a simple allocation script which works fine.

*SELECT(%GI_RU%,"[ID]",RU,"[PRIM_SEG] = 'GI'")

*XDIM_MEMBERSET RU=%GI_RU%

*XDIM_MEMBERSET ACCOUNT=GAK

*RUNALLOCATION

*FACTOR=1

*DIM TIME WHAT=2013.INP; WHERE= BAS(2013.TOTAL);

*ENDALLOCATION

Now I want to make the year dynamic. I tried different things with the %YEAR% option but nothing seems to work.We are on BPC10.

Can anybody help ?

Rgds