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 » Substitution Group Odd Errors

Post new topic  Reply to topic
 Substitution Group Odd Errors « View previous topic :: View next topic » 
Author Message
dmw1986
PostPosted: Wed Oct 22, 2008 5:17 am    Post subject: Substitution Group Odd Errors Reply with quote

Apprentice

Joined: 24 Sep 2008
Posts: 35

There seems to be a problem with substition groups within Message Broker. On the schema side this is one example. When trying to autocomplete within the schema to the correct element, there are certain ones that dont work. For example Eye Color. When autocompleting it completes to this.
Code:
SET OutputRoot.MRM.CJ37CI80_INPUT_DATA.CJ37CI80_EYE = InputRoot.XMLNSC.mo_warrant:Warrant.mo_warrant:Person.nc:PersonEyeColor

However if you look in the XML message we created based off the schema it looks like this as an example.
Code:
<mo-warrant:Person s:id="P1">
      <nc:PersonEyeColorCode>BLU</nc:PersonEyeColorCode>

So if I hard code the value like below it picks up ‘BLU’ while in debug but it will not write it to MQ or email. (see node output below)

Code:

SET OutputRoot.MRM.CJ37CI80_INPUT_DATA.CJ37CI80_EYE = InputRoot.XMLNSC.mo_warrant:Warrant.mo_warrant:Person.nc:PersonEyeColorCode;


If you look at the email Output, among other ones with these type of substition groups they dont get written. Heres the output of that email node. Notice theres no HAI, RAC, ORI, DOB, LNM, FNM, MNM, etc... These are all fields that you cant autocomplete to in the ESQL because of substition groups i’m guessing. But actually typing in the path like above gets you the data in debug mode but its like it loses it when it outputs it.

Code:
EW  WC00OSCIOSCIOSCI          X'414D51204D5348505F514D2020202020F82AFE4820002006'                                                                                                                                                                                                     ABCD           1 LIMITATION TEXT               12345678                                       JEFFERSON           026MO                    12345678901234567890  2001                                                                               1100   ELM STREET                      JEFFERSON CITY      026MO                                                                                                                                                                                        H


Any ideas on why in debug it finds the data and puts it in the right spot in COBOL include but it wont right it to message?
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Oct 22, 2008 12:58 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
There seems to be a problem with substition groups within Message Broker. On the schema side this is one example. When trying to autocomplete within the schema to the correct element, there are certain ones that dont work
That's possible. Substitution groups are pretty contact admin. There may be a defect in the ESQL autocomplete.
Suggestion: Look carefully at the schema and see whether 'PersonEyeColor' is defined as 'abstract'. If it is, then the autocomplete is quite correct not to offer it.

Quote:
Any ideas on why in debug it finds the data and puts it in the right spot in COBOL include but it wont right it to message?
Well, the debugger is showing you the message tree, not the output message. I can think of lots of reasons why the CWF output message would omit data that was in the message tree.
The first thing I would do is take a debug-level user trace, and look for warnings.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Substitution Group Odd Errors
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.