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 » Correct Syntax when using EQSL

Post new topic  Reply to topic
 Correct Syntax when using EQSL « View previous topic :: View next topic » 
Author Message
Kool-Aid
PostPosted: Thu Apr 22, 2004 8:07 am    Post subject: Correct Syntax when using EQSL Reply with quote

Novice

Joined: 22 Apr 2004
Posts: 22

I am trying to use the SET Function to create an element. I keep getting a syntax error. I don't think it likes the SEGMENT='1'. What I need to display is SEGMENT="1". The equal sign and quotes maybe causing an error. Is there any way I can show that this is just a name?

SET "OutputRoot"."XML"."BOMMAT03"."EDIC_DC40 SEGMENT='1'"."FIELD2" =
TRIM("InputBody"."BBC.OC.TEST"."BBCTEST.OC"."Field_2");
Back to top
View user's profile Send private message
sebastian
PostPosted: Thu Apr 22, 2004 8:14 am    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2003
Posts: 110
Location: Philadelphia


What version of MQSI and CSD levels are you using for configuration manager, control center and broker?

Sebastian
_________________
sebastian signature
Back to top
View user's profile Send private message Visit poster's website
Kool-Aid
PostPosted: Thu Apr 22, 2004 8:17 am    Post subject: Reply with quote

Novice

Joined: 22 Apr 2004
Posts: 22

I am using MQSI v2.1 and the config mgr and control center are at base level CSD and the broker is at CSD03.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 22, 2004 8:31 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you trying to create an XML Attribute called "Segment" with the value of "1"?

Then you need to create an XML Attribute called "Segment" and then assign it the value of 1.

This is done with a different statement than the one that creates and assigns the value to your XML Element.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Kool-Aid
PostPosted: Thu Apr 22, 2004 8:47 am    Post subject: Reply with quote

Novice

Joined: 22 Apr 2004
Posts: 22

-Yes, I am trying to create an XML Attribute called "Segment" with the value of "1"
- I will try to create the XML Attribute called "Segment" and then assign it the value of 1

Hopefully this will work but I am trying to actually replace an exsisting Element with this new attribute.

Example:
Coming into EQSL I get:
<KOOL-AID>

Going out I want:
<KOOL-AID SEGMENT="1">
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 22, 2004 9:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You should spend some time reading the Working With Messages manual before you do a lot more work with WMQI.

You do not seem to understand the logical message tree very well, and you can't be very effective with WMQI without that.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Empeterson
PostPosted: Thu Apr 22, 2004 9:17 am    Post subject: Reply with quote

Centurion

Joined: 14 Apr 2003
Posts: 125
Location: Foxboro, MA

To Create an XML attribute, the code is:

SET KOOL-AID.(XML.Attribute)SEGMENT = '1';

That will produce <KOOL-AID SEGMENT = "1">
_________________
IBM Certified Specialist: MQSeries
IBM Certified Specalist: Websphere MQ Integrator
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Correct Syntax when using EQSL
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.