Posted: Mon Sep 08, 2003 10:51 pm Post subject: TDS MRM with date field
Disciple
Joined: 30 Oct 2002 Posts: 193 Location: France
How can I defined an Date element in a TDS MRM ?
The date format must be 'dd.mm.yyyy'
I have try to define an Element with the DATETIME datatype but how can I defined the format ?
When I have define it it is possible to compare this date element with the current date in an compute node : like mydate >= current date ?
I have test with an element with a Date Template but when I deploy the messageset I have the follow eroor on the config manager:
RTD Extractor Trace File
========================
Beginning Extract..
Extracting Identification Info
Extracting Project Info
Extracting Values
Extracting Type Members
Warning: The C Language Plugin is not installed and registered for the project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Warning: The C Language Names will not extracted as the plugin is not available for this project
Extracting Tags
Extracting Element Tags (fields and structures)
Trace Info
===========
EXCEPTION: PopulateValueSet:Date Time Template Value not found yyyy-MM-dd
Please note that Date Time Template Values are different to the values allowed in the Format String Field.
Refer to the Working with Messages Manual for valid Date Time Template values
Return Code: -11
I have this working for an MRM-TDS DATETIME element. I specifiying yyyy-MM-dd in the Format field and this successfully parsed a bitstream that contained something like 2003-03-03. From your error I see that this did not deploy for you and gave you the error indicating that yyyy-MM-dd is not a valid format. What CSD Level of WMQI V2.1 are your components at ??
When this does parse correctly then you will get a TIMESTAMP in the message tree. This can be manipulated like any other ESQL timestamp for comparisons and assignments etc. _________________ Regards
Craig
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum