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 IndexWebSphere Message Broker SupportHow to pass the dynamic names using ESQL

Post new topicReply to topic
How to pass the dynamic names using ESQL View previous topic :: View next topic
Author Message
soudhanya
PostPosted: Wed Mar 08, 2017 8:08 am Post subject: How to pass the dynamic names using ESQL Reply with quote

Newbie

Joined: 27 Feb 2017
Posts: 7

DECLARE EDCAccountNumber CHAR '123_E_Sample';

SET Environment.EDCAccountNumber = count ;

EDCAccountNumber should be actual value

like Enivronment.123_E_Sample = count

How to pass this dynamic names? Any help?
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Mar 08, 2017 8:16 am Post subject: Re: How to pass the dynamic names using ESQL Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 24297
Location: Ohio, USA

soudhanya wrote:
How to pass this dynamic names? Any help?


Code:
SET Environment.{EDCAccountNumber} = count ;


Be aware this is a resource expensive operation that can have adverse effects on performance and throughput. If you can avoid this construction (with a hash map, array or other method) then you should.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
soudhanya
PostPosted: Wed Mar 08, 2017 8:24 am Post subject: Reply with quote

Newbie

Joined: 27 Feb 2017
Posts: 7

Thanks it is working.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportHow to pass the dynamic names using ESQL
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.