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 » Problem in writing ESQL

Post new topic  Reply to topic
 Problem in writing ESQL « View previous topic :: View next topic » 
Author Message
sri_csee1983
PostPosted: Sun Mar 30, 2008 3:12 am    Post subject: Problem in writing ESQL Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Dear friends,

I created two projects, one is msgflw prj and the other msgset prj. I created the message definition files from cobol cpy book and XML schema definition files. My requirement is to convert EBCDIC code to XML. So I created the msgflow for that and while writing the ESQL for the compute node to convert to XML, in SET command, I am unable to get the existing values for OutputRoot.MRM. (ie) if u type OutputRoot. and press control space u ell get the default options. In that I selected MRM. And then after MRM. if I press control+space i am not gettting anything. Can any one tell me y. Or is there any other way we can convert EBCDIC to XML. Guys help on thisa.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vitor
PostPosted: Sun Mar 30, 2008 4:06 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Sounds like the message set is not correctly associated with the project.

Be aware you don't need to use control+space to get the fields up; it's perfectly valid to just type the SET command.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sri_csee1983
PostPosted: Sun Mar 30, 2008 5:52 am    Post subject: Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Dear Vitor,

Thanks for ur reply. Then in the esql statement

SET OutputRoot.MRM.ns:CustomerDetails.ns:Name=
InputRoot.MRM.IMSSegment1.IMSData.msg_CUSTDET.NAME;

What is ns?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
elvis_gn
PostPosted: Sun Mar 30, 2008 5:58 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi sri_csee1983,

ns are namespaces, you need to declare them before use.

Please search the forum for examples.

Regards.
Back to top
View user's profile Send private message Send e-mail
sri_csee1983
PostPosted: Sun Mar 30, 2008 6:10 am    Post subject: Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Dear elvis,

Thanx for ur valuable suggestion. Will check for that. If we have name spaces then whether the esql editor picks the element under the namespace by pressing ctrl+space after the '.' and also whether it will pick the namespace after the 'MRM.'? Expecting ur reply, until then i ell check the namespace example in our forum.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
francoisvdm
PostPosted: Sun Mar 30, 2008 10:15 pm    Post subject: Reply with quote

Partisan

Joined: 09 Aug 2001
Posts: 332

Try to add your message set as a reference in the message flow. Right click on the "message flow", select "properties"...and under "reference" select your message set. Ctrl+space should then work. Also, did you create a "message definition" from the cobol cpy book in the message set?
_________________
If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.

Francois van der Merwe
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem in writing ESQL
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.