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 » Configuring file output node properties through Esql

Post new topic  Reply to topic
 Configuring file output node properties through Esql « View previous topic :: View next topic » 
Author Message
praj1740
PostPosted: Mon Mar 18, 2013 4:58 am    Post subject: Configuring file output node properties through Esql Reply with quote

Apprentice

Joined: 05 Feb 2013
Posts: 29
Location: INDIA

Hi i am trying to create multiple output files For different records.For that im setting the file output node properties through esql for generating diff o/p files.For that the code im using is
Code:
    SET OLE.Destination.File.Directory ='C:\temp\output' ;
                SET OLE.Destination.File.Name = currentid||'.txt';
                SET OLE.Destination.File.Action='Create';
                SET OLE.Destination.File.TimeStamp=CURRENT_TIMESTAMP;

here based on currentid it has to generate multiple o/p files.
But in the output im getting a file of name which is specified on the fileoutput node.Can Anyone help me in resolving this.Thank you.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 18, 2013 5:05 am    Post subject: Re: Configuring file output node properties through Esql Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

praj1740 wrote:
But in the output im getting a file of name which is specified on the fileoutput node.


Assuming "OLE" in your code is a reference to OutputLocalEnvironment, are you passing that to the FileOutput node?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
praj1740
PostPosted: Mon Mar 18, 2013 5:07 am    Post subject: Reply with quote

Apprentice

Joined: 05 Feb 2013
Posts: 29
Location: INDIA

Yes OLE is my reference and im passing it to file output node
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 18, 2013 5:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

praj1740 wrote:
im passing it to file output node


If you're certain that you've taken the steps necessary to do that (it doesn't happen by default) then you should raise a PMR as you've found a bug in the software.

But first I'd review what you're doing as that ESQL sets 4 fields which:

a) are read only
b) are part of the WrittenDestination tree not the Destination tree.

I don't think that would cause your problem (I think the FileOutput node will just ignore the Action and Timestamp fields) but does show that you've not read the documentation quite carefully enough.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Esa
PostPosted: Mon Mar 18, 2013 5:15 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

As you are setting the values in OutputLocalEnvironment you should verify that the Compute Mode of your Compute Node contains LocalEnvironment. Otherwise you should set the values in InputLocalEnvironment.

Also verify that you have not overridden the locations in the Request tab of your FileOutput node
Back to top
View user's profile Send private message
praj1740
PostPosted: Mon Mar 18, 2013 5:25 am    Post subject: Reply with quote

Apprentice

Joined: 05 Feb 2013
Posts: 29
Location: INDIA

I have set the compute mode property as localEnvironment and Message,and havn't changed the properties of Request tab of FileOutput node and left them as default.
Back to top
View user's profile Send private message
praj1740
PostPosted: Mon Mar 18, 2013 5:39 am    Post subject: Reply with quote

Apprentice

Joined: 05 Feb 2013
Posts: 29
Location: INDIA

Thanks For the Valuable info and Help.It is Working now.One Mistake i made is i have done is setting the PROPAGATE statement before configuring the fileOutput node in the eqsl.Now it has been Rectified
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 » Configuring file output node properties through 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.