Hello!
I need to search in my tamino database by specify “data_from” and “data_to”. I know that I should do it by using “between” expression. Unfortunately, I got error messages in Tamino Interactive Interface if records didn’t found.
Here are my queries:
1) with “between” and “sortby” expressions:
-----------------------------------------
DOC[OPERATION/DATE between “2002-06-10”, “2002-06-12”] sortby(OPERATION/DATE) - OK 
-----------------------------------------
DOC[OPERATION/DATE between “2002-06-11”, “2002-06-12”] sortby(OPERATION/DATE) - ERROR, INOXIE8306 
-----------------------------------------
DOC[OPERATION/DATE=“2002-06-10”] - OK 
-----------------------------------------
DOC[OPERATION/DATE=“2002-06-11”] - ERROR, INOXIE8306 
-----------------------------------------
2) with “count” and “sortby” expressions:
-----------------------------------------
count(/DOC) - OK
-----------------------------------------
count(/DOC[OPERATION/DATE between “2002-06-10”, “2002-06-12”]) sortby(OPERATION/DATE) - ERROR, INOXIE8379 
-----------------------------------------
count(/DOC[OPERATION/DATE between “2002-06-11”, “2002-06-12”]) sortby(OPERATION/DATE) - ERROR, INOXIE8379 
-----------------------------------------
How should I do to fix it?
Please help me.
best regards,
Dariusz Baumann
PS.
Documentation says:
-----------------------------------------
1)
ERROR INOXIE8306 means:
Invalid cursor position
Explanation
The supplied cursor position is invalid: there is no document in the cursor’s result set corresponding to the position. In particular, this error will be returned when positioning beyond the end of the cursor result set.
Action
Supply a correct cursor position.
-----------------------------------------
2)
ERROR INOXIE8379 means:
Internal error occurred during query processing: unknown request
Explanation
An internal error has occurred.
Action
Please contact your software supplier.
-----------------------------------------
#API-Management#Tamino#webMethods