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 functions are not calling from mapping node in v8

Post new topic  Reply to topic
 esql functions are not calling from mapping node in v8 « View previous topic :: View next topic » 
Author Message
srinivasonmb
PostPosted: Tue Sep 24, 2013 11:32 am    Post subject: esql functions are not calling from mapping node in v8 Reply with quote

Novice

Joined: 04 Jul 2013
Posts: 16

Hi, Good Evening,

i am using MB V8.0.0.2 for migrating my messsage flow projects from MB V6.1.

In v6 i have successfully calling esql functions which are having REFERENCE variable as argument.

i have function like below:

Quote:
Create function ABC(object REFERENCE, name CHARACTER)

END


i have calling the above function successfully in V6.1

But in v8.0.0.1, i am unable to call those functions in my mapping node, it is saying as an REFERENCE variable argument functions are not migrated in latest version.

i have tried to write esql code instead of mapping node because of this problem.

but my mapping file contains huge attributes, so it will take lot of time to me write an esql code.

can anyone help me out how to use those functions in v8 mapping node.

please advise on this.
Back to top
View user's profile Send private message
srinivasonmb
PostPosted: Sat Sep 28, 2013 11:31 pm    Post subject: Reply with quote

Novice

Joined: 04 Jul 2013
Posts: 16

i am getting below error after migrating the message map if it have above esql functions.


Quote:

The mapping expression esql:abc cannot be converted.
[/code]
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Sep 29, 2013 12:58 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.

As the call to the ESQL works in 8.0.0.2 why don't you upgrade to that version?

If you can't then raise a PMR and IBM may be able to provide a fix to 8.0.0.1 for you.
However I strongly advise you to go to 8.0.0.2 as there are all sorts of problems with subflows etc that are addressed in this release. Who knows if a fix for this problem won't simply uncover another one and another one?
_________________
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
srinivasonmb
PostPosted: Sun Sep 29, 2013 8:54 pm    Post subject: Reply with quote

Novice

Joined: 04 Jul 2013
Posts: 16

Sorry, i am using MB V8.0.0.2, i am getting this error in this version only.
Back to top
View user's profile Send private message
martinb
PostPosted: Mon Sep 30, 2013 1:22 am    Post subject: Reply with quote

Master

Joined: 09 Nov 2006
Posts: 210
Location: UK

Please have a look at the Info Centre topic "Considerations for converting a message map to a graphical data map" (br40815)

This states

"
Calls to ESQL procedures that use the ESQL REFERENCE data type are replaced with Task transforms in the converted graphical data map. You must replace each of these Task transforms with a Custom XPath, Custom Java, or Custom ESQL transform that provides equivalent function.
"

The facilities to call ESQL from the new Graphical Data Mapper only support calling ESQL with simple data types that are passed by value. The previous version messaging mapping was an ESQL code generator, so was deployed and executed in the runtime as ESQL.
Back to top
View user's profile Send private message
srinivasonmb
PostPosted: Tue Oct 01, 2013 8:15 pm    Post subject: Reply with quote

Novice

Joined: 04 Jul 2013
Posts: 16

Martin, i had also seen this in info center, but is there any option to do this in a easy manner, like even using the same functions...
Back to top
View user's profile Send private message
martinb
PostPosted: Wed Oct 02, 2013 12:10 am    Post subject: Reply with quote

Master

Joined: 09 Nov 2006
Posts: 210
Location: UK

It really is a case were there is no one answer. You'll have to look into your ESQL function to see why it was taking a REF parameter.

Some of the cases I've seen it was so that the function could iterate over a repeating element and apply some conditional merging to the singleton target.

In that case we could replace the call directly in the map using ForEach or Join transforms with filter or join conditions.
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 functions are not calling from mapping node in v8
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.