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 » Unresolvable field reference for dynamic fields

Post new topic  Reply to topic
 Unresolvable field reference for dynamic fields « View previous topic :: View next topic » 
Author Message
souciance
PostPosted: Wed Jun 07, 2017 11:50 pm    Post subject: Unresolvable field reference for dynamic fields Reply with quote

Disciple

Joined: 29 Jun 2010
Posts: 169

Hello,

I sometimes create fields like this:
CREATE FIELD P3.Part[3]."Content-Disposition" TYPE.......

The toolkit gives me the warning "Unresolvable message field reference "OutputRoot.MIME.Parts".

Isn't there any way to suppress the warnings for when you create fields on the fly? Or at least tell the toolkit that you accept and remove the warning.

It also clogs the left pane of the page and makes it harder to see where you have put your breakpoints.


Souciance
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 08, 2017 3:49 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you're following the example here:
https://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/ac30000_.htm

then I'd double-check how you created the OutputRoot.MIME and OutputRoot.MIME.Parts fields.

Otherwise, I think you'd have to show more code.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
souciance
PostPosted: Thu Jun 08, 2017 6:56 am    Post subject: Reply with quote

Disciple

Joined: 29 Jun 2010
Posts: 169

mqjeff wrote:
If you're following the example here:
https://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/ac30000_.htm

then I'd double-check how you created the OutputRoot.MIME and OutputRoot.MIME.Parts fields.

Otherwise, I think you'd have to show more code.


Yes, I have tried to follow that example. Here is the more complete code.

Code:

CREATE FIELD OutputRoot.MIME TYPE Name;
DECLARE MODEL REFERENCE TO OutputRoot.MIME;
CREATE LASTCHILD OF MODEL TYPE Name NAME 'Parts';
CREATE LASTCHILD OF MODEL.Parts TYPE Name NAME 'Part';


The toolkit puts a warning on the last line saying "unresolvable field reference OutputRoot.MIME.Parts.

If I run the code, then I do get the outcome I want so it seems to work but the warning is still there. Normally I get those warnings if I am referring to a field in a message set that does not exist.
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 » Unresolvable field reference for dynamic fields
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.