I tried this script to create a derivation.
The script is very simple; what I want to do is far more complicated.
<------------
$SQLString := 'SELECT distinct "SPEC4" FROM "S_SPEC" WHERE "SPEC1" = 1 and "SPEC2" is null and "SPEC3" is null';
return(lookup('TEMPSTORE', $SQLString));
------------>
When I test it in the derivations properties it works fine but when I do try to create my dimension table with it, I got this error message:
<------------
DS-EXP-E001: Expression parse error at position 135;
unrecognised function
$SQLString := 'SELECT distinct "SPEC4" FROM "S_SPEC" WHERE "SPEC1" =
1 and "SPEC2" is null and "SPEC3" is null';
return(>>>lookup('TEMPSTORE', $SQLString));
DS-STREAM-E260: invalid script specified for Derived DataSource Item 'Spec4'
of DataSource 'Prof' of DataStream 'TM_PROF_H'
------------>
What is the problem?
For information, I use Desicion Stream 7.0 MR2 and Oracle 8.1.7
The script is very simple; what I want to do is far more complicated.
<------------
$SQLString := 'SELECT distinct "SPEC4" FROM "S_SPEC" WHERE "SPEC1" = 1 and "SPEC2" is null and "SPEC3" is null';
return(lookup('TEMPSTORE', $SQLString));
------------>
When I test it in the derivations properties it works fine but when I do try to create my dimension table with it, I got this error message:
<------------
DS-EXP-E001: Expression parse error at position 135;
unrecognised function
$SQLString := 'SELECT distinct "SPEC4" FROM "S_SPEC" WHERE "SPEC1" =
1 and "SPEC2" is null and "SPEC3" is null';
return(>>>lookup('TEMPSTORE', $SQLString));
DS-STREAM-E260: invalid script specified for Derived DataSource Item 'Spec4'
of DataSource 'Prof' of DataStream 'TM_PROF_H'
------------>
What is the problem?
For information, I use Desicion Stream 7.0 MR2 and Oracle 8.1.7