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 » Convert Refernce Variable to String

Post new topic  Reply to topic
 Convert Refernce Variable to String « View previous topic :: View next topic » 
Author Message
Vgowda
PostPosted: Thu Feb 23, 2012 4:40 am    Post subject: Convert Refernce Variable to String Reply with quote

Acolyte

Joined: 11 Dec 2007
Posts: 61
Location: Bengaluru

Hi All,
I have requirement to reterive final loop of Exception list in a ExceptionTree and convert that to String. I have retrieved the lastExceptionRef from the tree when i am trying to convert to a string it's not happening.

Below is the Code :
Code:
CALL getLastExpRef (InputExceptionList.*[], lastExpRef );
SET envRef.ErrorMsg =  lastExpRef;
DECLARE EXCEPTIONBLOB BLOB ASBITSTREAM(envRef.ErrorMsg OPTIONS FolderBitStream);
DECLARE EXCEPTIONCHAR CHARACTER CAST(EXCEPTIONBLOB AS CHARACTER CCSID InputRoot.Properties.CodedCharSetId);


lastExpRef is assigned somethign like this
Quote:

File:CHARACTER:F:\build\S610_P\src\WebServices\WSLibrary\ImbSOAPRequestNode.cpp
Line:INTEGER:1239
Function:CHARACTER:ImbSOAPRequestNode::requestData
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPv610
Severity:INTEGER:3
Number:INTEGER:3701
Text:CHARACTER:Error Making SOAP JNI Call: Axis2Requester_processResponseMessageSync
Insert
Type:INTEGER:5
Text:CHARACTER:Axis2Requester_processResponseMessageSync
Insert
Type:INTEGER:5
Text:CHARACTER:org.apache.axiom.soap.SOAPProcessingException: First Element must contain the local name, Envelope , but found html
Insert
Type:INTEGER:5
Text:CHARACTER:Frame : 0 org.apache.axiom.soap.SOAPProcessingException: First Element must contain the local name, Envelope , but found html

But nthg is assigned to EXCEPTIONCHAR.

Any suggestions on the same would be gr8ly appreciated.
_________________
Regards
Vinay
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Feb 23, 2012 5:09 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.

There was a post from only a few days ago that included some night ESQL to do something like this.
_________________
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
mqsiuser
PostPosted: Thu Feb 23, 2012 5:12 am    Post subject: Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

smdavies99 wrote:
There was a post from only a few days ago that included some night ESQL to do something like this.


http://www.mqseries.net/phpBB2/viewtopic.php?t=60331&postdays=0&postorder=asc&start=0
_________________
Just use REFERENCEs
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 » Convert Refernce Variable to String
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.