Posted: Fri Aug 08, 2003 12:30 pm Post subject: MQSI - XML messages - Cardinality function
Centurion
Joined: 11 Nov 2001 Posts: 102 Location: PSTech
The message is below.
Here is the code
Set LoopCountJ = CARDINALITY(InputBody.BREMessage.BREActivity.ResponseArray[I].RuleVarArray[]);
'I' is set to 1.
LoopCountJ evaluates to 2 it should evaluate to 3.
Whats wrong here ?
Data from debug logs
2003-08-08 13:10:45.073139 2571 UserTrace BIP2540I: Node 'EO.ENROLLMENT.REPLY.FROM.BRE.DEVPC.UPDATE.LETTER.GENERATE': Finished evaluating expression 'CARDINALITY(InputBody.BREMessage.BREActivity.ResponseArray[I].RuleVarArray[ ])' at (51, 1. The result was '2'. _________________ Thanks
What Version and CSD level of WMQI are you using? I tried your line of ESQL and input message on WMQI V2.1 CSD05 and the CARDINALITY function gave the correct result of 3. _________________ 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