SUMMARY
This issue has been classified as a defect by Strategy. The impact is limited to Strategy 9.x and 10.0. A couple of workarounds are available in the current document. A code fix for this issue is available in Strategy 10.1.
SYMPTOM
In Strategy 9.x and 10.0, Float data type is used for a metric column on the initial execution of the report as shown below:
CREATE LOCAL TEMPORARY TABLE #ZZMD00( DAT_CODE_DATE DATE, WJXBFS1 FLOAT) NO LOGGING
CREATE LOCAL TEMPORARY TABLE #ZZMD00( DAT_CODE_DATE DATE, WJXBFS1 DATE) NO LOGGING
STEPS TO REPRODUCE
The following steps are based on the Strategy Tutorial project:
create table ZZAM00 ( YEAR_ID SMALLINT, WJXBFS1 DATETIME)
CAUSE
This is a known issue with Strategy 9.x and 10.0.0.
ACTION
The issue has been fixed in Strategy 10.1 Secure Enterprise Platform. Upgrade to this version to take advantage of the fix.
The Strategy Internal Reference Number for the issue discussed in this technical note is US21638.
WORKAROUND
Modify metric to use “Date(CurrentDateTime()))” or “Max(ApplySimple("SYSDATE", 1)){~+}” function instead of using “CurrentDate()”