|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Validation of message using CREATE |
« View previous topic :: View next topic » |
Author |
Message
|
brokendrum |
Posted: Wed Oct 08, 2003 1:21 am Post subject: Validation of message using CREATE |
|
|
Apprentice
Joined: 14 Jan 2003 Posts: 34
|
Can anybody tell what's wrong with the following code?
Code: |
DECLARE C INTEGER;
SET C = CARDINALITY(InputRoot.*[]);
DECLARE I INTEGER;
SET I = 1;
WHILE I < C DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I=I+1;
END WHILE;
-- Enter SQL below this line. SQL above this line might be regenerated, causing any modifications to be lost.
SET OutputLocalEnvironment = InputLocalEnvironment;
CREATE LASTCHILD OF "OutputRoot" DOMAIN('MRM')
PARSE("InputBody",
InputRoot.MQMD.Encoding,
InputRoot.MQMD.CodedCharSetId,
'DR54B3K0UI001','TMESSAGE','SWIFT',
BITOR( ValidateValue, ValidateContent, ValidateException, ValidateComplete, ValidateFullConstraints )); |
I get a "BIP2329E: An unexpected NULL value was encountered." error. The InputBody, InputRoot.MQMD.Encoding, InputRoot.MQMD.CodedCharSetId, Message set 'DR54B3K0UI001',Message type 'TMESSAGE' and format 'SWIFT' all exist. What's the NULL referring to?
Thanks,
BD |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 08, 2003 5:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I don't think you can use "InputBody" the way you are trying to. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|