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 » Create an ARRAY variable in ESQL

Post new topic  Reply to topic Goto page Previous  1, 2
 Create an ARRAY variable in ESQL « View previous topic :: View next topic » 
Author Message
williad
PostPosted: Sun Feb 24, 2013 9:44 am    Post subject: Reply with quote

Apprentice

Joined: 08 Sep 2005
Posts: 40
Location: London

Hi guys

I think i sorted it (well its working)

what i did is shown below in an extract from the common routine where i added in the CREATE DOMAIN statements. I didnt fully understand the PARSE section, so i thought i build up the statement slowly.... and it seems to work. The trace now shows exactly as the working trace mentioned before. The email is being sent cirrectly. I think i had also a misunderstanding of the outputroot tree, where i thought the EmailOutputHeader was after the BLOB section. i forgot the order of the message headers which when i looked back in the manuals came back to me.

Thank you ALL for your help in regards to this, it is truly much appreciated. Enjoy the rest of your weeknd. (i can now finally sleep )Thank you


CREATE LASTCHILD OF refOutputRoot DOMAIN('EmailOutputHeader');
-- Add recipient information to the EmailOutputHeader
SET refOutputRoot.EmailOutputHeader.To = COALESCE(refEnvironment.Variables.INTERFACE_EMAILS[1].EMAIL_TO,'simitta@Schroders.com');
SET refOutputRoot.EmailOutputHeader.Cc = COALESCE(refEnvironment.Variables.INTERFACE_EMAILS[1].EMAIL_CC,'');
SET refOutputRoot.EmailOutputHeader.Bcc = COALESCE(refEnvironment.Variables.INTERFACE_EMAILS[1].EMAIL_BCC,'');

-- Add sender information to EmailOutputHeader
SET refOutputRoot.EmailOutputHeader.From = COALESCE(refEnvironment.Variables.INTERFACE_EMAILS[1].EMAIL_FROM,'');
SET refOutputRoot.EmailOutputHeader."Reply-To" = COALESCE(refEnvironment.Variables.INTERFACE_EMAILS[1].EMAIL_REPLYTO,'');

-- Add subject to EmailOutputHeader
SET refOutputRoot.EmailOutputHeader.Subject = COALESCE(refEnvironment.Variables.INTERFACE_EMAILS[1].EMAIL_SUBJECT,'');

CREATE LASTCHILD OF refOutputRoot DOMAIN('BLOB');
Back to top
View user's profile Send private message
adubya
PostPosted: Mon Feb 25, 2013 12:21 am    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

The infocenter is your friend

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fac66340_.htm
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Create an ARRAY variable in 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.