Author |
Message
|
sri_csee1983 |
Posted: Sun Mar 30, 2008 3:12 am Post subject: Problem in writing ESQL |
|
|
 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 |
|
 |
Vitor |
Posted: Sun Mar 30, 2008 4:06 am Post subject: |
|
|
 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 |
|
 |
sri_csee1983 |
Posted: Sun Mar 30, 2008 5:52 am Post subject: |
|
|
 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 |
|
 |
elvis_gn |
Posted: Sun Mar 30, 2008 5:58 am Post subject: |
|
|
 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 |
|
 |
sri_csee1983 |
Posted: Sun Mar 30, 2008 6:10 am Post subject: |
|
|
 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 |
|
 |
francoisvdm |
Posted: Sun Mar 30, 2008 10:15 pm Post subject: |
|
|
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 |
|
 |
|