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 » FileOutnode Directory and file name change

Post new topic  Reply to topic
 FileOutnode Directory and file name change « View previous topic :: View next topic » 
Author Message
rajbuddha
PostPosted: Sun Jan 15, 2012 12:09 am    Post subject: FileOutnode Directory and file name change Reply with quote

Apprentice

Joined: 02 Aug 2011
Posts: 47
Location: chennai

Hi Folks ,


I am using wmb 8 , I need to sent message into a local file system with different directory(per day) and file name (timestamp) .

Based upon the Info which got from wmb8 help ,

The property entered in basic tab will be over ridden by Request tab properties .

Before fileoutput node i have compute node , and i am setting the properties as below in this compute node

------
SET OutputLocalEnvironment.Destination.File.Directory = 'C:\TEMP\EXCEPTION\NEW' ;

But i am not getting expected result..getting exception saying invalid location WrongDir-----
Below are the basic and request tab properties

-- Basic
----------
Directory : WrongDir

--- Request
--------------

DataLocation : $Body
Request directory Property location : $LocalEnvironment/Destination/File/Directory

$LocalEnvironment/Destination/File/Name :
$LocalEnvironment/Destination/File/Name

--------------Please let me where i am odd .. If directory is fine i can use the same info for file name as well...

Thanks in advance guys =>
_________________
-----------

Raju Buddha

Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One...
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Sun Jan 15, 2012 4:32 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Assuming your compute node properties are set to change the local environment,
Does the directory exist ?
Does the FTE Agent's service id/broker's service id have the adequate rights to it?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Sun Jan 15, 2012 4:34 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Moving to broker forum...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
anand158
PostPosted: Thu Jan 19, 2012 11:16 am    Post subject: Reply with quote

Newbie

Joined: 25 May 2005
Posts: 8

I am useing this

SET OutputLocalEnvironment.Destination.File.Name = fileName;
SET OutputLocalEnvironment.Destination.File.Directory = folderName;

Change the compute node properties (compute mode) to LocalEnvironment and Message

It works for me
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 » FileOutnode Directory and file name change
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.