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 » ESQL PARSE WEIRED

Post new topic  Reply to topic
 ESQL PARSE WEIRED « View previous topic :: View next topic » 
Author Message
matuwe
PostPosted: Thu May 20, 2010 5:54 am    Post subject: ESQL PARSE WEIRED Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

I have a very weired problem. I am doing PARSING inside esql procedure. If I debug it works, if I don't debug it fails. I am using runtime 7 no fix packs.... Has anyone had this problem? The code works 100% fine
Code:



DECLARE parseOptions INTEGER BITOR (ValidateContentAndValue,ValidateException,ValidateImmediate);

DECLARE mset CHARACTER 'ICIOCK4002001' ;
DECLARE mType CHARACTER 'Transaction';
DECLARE mFormat CHARACTER 'Text1';
      
    
Create LASTCHILD OF Environment.TEST DOMAIN ('MRM') PARSE(Environment.Data
   OPTIONS parseOptions
   SET mset
   TYPE mType
   FORMAT mFormat
   ENCODING InputRoot.Properties.Encoding
   CCSID InputRoot.Properties.CodedCharSetId
Back to top
View user's profile Send private message
Luke
PostPosted: Thu May 20, 2010 6:19 am    Post subject: Reply with quote

Centurion

Joined: 10 Nov 2008
Posts: 128
Location: UK

I'd suggest using a trace rather than debugger when you're parsing with message sets. I think parsing exceptions are discarded by the debugger, so it might look like it works when you run it with debugger.

Debug trace should help you to figure out what's going wrong.
Back to top
View user's profile Send private message
matuwe
PostPosted: Thu May 20, 2010 7:05 am    Post subject: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

tx. I have got a trace note node...
Much appreciated
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu May 20, 2010 7:21 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I have got a trace note node...
Luke was not talking about the Trace node. He was suggesting that you should take a user trace.
That means running mqsichangetrace, mqsireadlog and mqsiformatlog.
The output is a text file that tells you exactly what the message flow is doing.

But leave the Trace node in the message flow - it will write its output to the user trace if you ask it nicely ( actually I think that's the default behaviour ).
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 » ESQL PARSE WEIRED
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.