I am trying to migrate a model from version 6.3E to version 10 (yes I agree this was long overdue).
I encounter the following issue:
when testing an input data variable for :NA:, it sometimes seems not to work, if the variable is with multiple subscripts (but I want to use 1 specific element for at least one subscript).
With examples it is probably clearer:
Example 1:
Code: Select all
data input[countries,fuels] :INTERPOLATE: ~~|
variable[countries] = IF THEN ELSE(data input[countries,FUEL1] = :NA:,1,2) ~~|
I also obtain 2 if there is some data, which makes sense.
Example 2:
Code: Select all
data input[countries] :INTERPOLATE: ~~|
variable[countries] = IF THEN ELSE(data input[countries] = :NA:,1,2) ~~|
Any hint on why example 1 would not work?
It used to work as such on version 6.3E.
Thanks in advance!
Aurélien