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 » writing ExceptionList to file using fileoutput node

Post new topic  Reply to topic
 writing ExceptionList to file using fileoutput node « View previous topic :: View next topic » 
Author Message
fde
PostPosted: Tue Jul 14, 2009 7:42 am    Post subject: writing ExceptionList to file using fileoutput node Reply with quote

Acolyte

Joined: 05 Jul 2007
Posts: 65

I want to use the fileoutput node to write the exceptionlist attached to my message to a file.
in the 'data location' field of fileoutput I try to refer to the exceptionlist using $ExceptionList.
Unfortunately nothing is written to the file, as if $ExceptionList ist not accessible. $ExceptionList.RecoverableException leads to an xpath exception at runtime.

If I replace fileoutput with tracenode and use ${ExceptionList} as pattern, the file is written fine.

I could imagine that this is a parser related problem. Since the exception list is out of the scope of the current message parser.

What do you think?
_________________
Global warming is an unintentional side effect of SOA's hotness.
-- http://soafacts.com/
a business integration methodology
Back to top
View user's profile Send private message
jbanoop
PostPosted: Tue Jul 14, 2009 10:08 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

is the node previous to that passing the exception list to the file output ? Use the flow debugger to verify that the exception list is visible just before the FileOutput node.
Back to top
View user's profile Send private message Yahoo Messenger
smdavies99
PostPosted: Tue Jul 14, 2009 10:12 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The ExceptionList is a folder in its own right.

IMHO, you should put a compute node before the File Output Node to assemble the actual data you want to output.

You can access it using InputRoot.ExceptionList

I often go one step further and use the Zip Node support pack and put it all into one file and then use the fileoutput node.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
sumitha.mp
PostPosted: Fri Dec 28, 2012 8:40 am    Post subject: Reply with quote

Newbie

Joined: 21 Aug 2012
Posts: 9

I'm facing similar issue. Can you please let me know how you fixed this issue.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Dec 28, 2012 8:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

sumitha.mp wrote:
I'm facing similar issue. Can you please let me know how you fixed this issue.


1. Don't reopen old posts.
2. Don't double post.
3. Read the InfoCentre.
4. Use Google.
5. Take the training.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Diksha
PostPosted: Thu Jan 17, 2013 2:07 am    Post subject: writing ExceptionList to file using fileoutput node Reply with quote

Newbie

Joined: 17 Jan 2013
Posts: 2

Try this,

Put a compute node before FileOutputNode
Associate a Parser to ExcepyionList to serialize it and covert it into BLOB and write it to FileOutput Node.

eg

CREATE LASTCHILD OF Environment.Variables.Test DOMAIN 'XMLNSC' Name 'MyExceptionList';

SET Environment.Variables.Test.MyExceptionList = InputExceptionList;
SET OutputRoot.BLOB.BLOB = ASBITSTREAM(Environment.Variables.Test.MyExceptionList CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding);

It worked for me
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jan 17, 2013 5:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Diksha,

You're new here. So, we will review some of the basic rules:

lancelotlinc wrote:
sumitha.mp wrote:
I'm facing similar issue. Can you please let me know how you fixed this issue.


1. Don't reopen old posts.
2. Don't double post.
3. Read the InfoCentre.
4. Use Google.
5. Take the training.



This topic is covered in multiple other posts. Please read them before you post.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
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 » writing ExceptionList to file using fileoutput node
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.