ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Duplicate Elements

Post new topic  Reply to topic
 Duplicate Elements « View previous topic :: View next topic » 
Author Message
Thameem
PostPosted: Sun Jul 21, 2002 11:17 pm    Post subject: Duplicate Elements Reply with quote

Newbie

Joined: 03 Jul 2002
Posts: 7

We have a n MRM which has an element that gets reapeated often, but not contiguously.
To achieve this we have defined the Compound Type with( as said in the pdf Working with messages page 72.)

Type Composition as Sequence.
Type Content as Closed.

But when the assingment is done in Esql the trace file shows all the duplicate elements contiguously, thus the output fails to match the MRM.

Can anyone throw some light on this.

Thanks in Advance
Thameem
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jul 22, 2002 4:32 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Could you post your ESQL code here?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Thameem
PostPosted: Mon Jul 22, 2002 8:25 pm    Post subject: Reply with quote

Newbie

Joined: 03 Jul 2002
Posts: 7

The MRM is defined like this
e1
r1
e2
r1
e3
r1

where r1 is the duplicate element

the ESQL code is :
SET OutputRoot.MRM.e1 = '11111';
SET OutputRoot.MRM.r1[1] = '22222';
SET OutputRoot.MRM.e2 = '33333';
SET OutputRoot.MRM.r1[2] = '44444';
SET OutputRoot.MRM.e3 = '55555';
SET OutputRoot.MRM.r1[3] = '66666';

The Output in the trace is :
11111
22222
44444
66666
33333
55555

So all the duplicate elemenst are being put together contiguously..
Thus the Output fails to match the MRM definition
Back to top
View user's profile Send private message
Thameem
PostPosted: Mon Jul 22, 2002 8:26 pm    Post subject: Reply with quote

Newbie

Joined: 03 Jul 2002
Posts: 7

The MRM is defined like this
e1
r1
e2
r1
e3
r1

where r1 is the duplicate element

the ESQL code is :
SET OutputRoot.MRM.e1 = '11111';
SET OutputRoot.MRM.r1[1] = '22222';
SET OutputRoot.MRM.e2 = '33333';
SET OutputRoot.MRM.r1[2] = '44444';
SET OutputRoot.MRM.e3 = '55555';
SET OutputRoot.MRM.r1[3] = '66666';

The Output in the trace is :
11111
22222
44444
66666
33333
55555

So all the duplicate elemenst are being put together contiguously..
Thus the Output fails to match the MRM definition
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Jul 23, 2002 4:20 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Your ESQL code looks ok. Guess what..I tried to test the similar ESQL code on my machine and I am getting an error. I wonder whether this feature is implemented in MRM or not.

Someone out there who has used this feature could helps us.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Duplicate Elements
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.