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 » file output node

Post new topic  Reply to topic
 file output node « View previous topic :: View next topic » 
Author Message
sirisha.n
PostPosted: Thu Jul 03, 2008 11:49 pm    Post subject: file output node Reply with quote

Apprentice

Joined: 25 Feb 2008
Posts: 27

Hi,

I am using MB6.0 and i installed 5.0.0.4v Fix pack for the File nodes.
to need to transform form Message to file.

I did following settings,
1.i have used File proxy node
2.i have used following code.
SET OutputLocalEnvironment = InputLocalEnvironment;
SET OutputLocalEnvironment.Variables.MBFEProperties.DataType = 0;
SET OutputLocalEnvironment.Variables.MBFEProperties.RecordType = 2;
SET OutputLocalEnvironment.Variables.MBFEProperties.FileId = 'Aangifte';
SET OutputLocalEnvironment.Variables.MBFEProperties.FileName = 'BelastinAangifte';
SET OutputLocalEnvironment.Variables.MBFEProperties.Directory = 'c:\FOUT';
SET OutputLocalEnvironment.Variables.MBFEProperties.EorType = 16;
SET OutputLocalEnvironment.Variables.MBFEProperties.CodedCharSetId = 0;
SET OutputLocalEnvironment.Variables.MBFEProperties.Encoding = 0;
SET OutputLocalEnvironment.Variables.MBFEProperties.action = 'close';
SET OutputLocalEnvironment.Variables.MBFEProperties.Action = 'close';
RETURN TRUE;

3. i didnt mention directory structure in file output node properties.

if i dont set any properties , it works fine and creates a file in the directory mentioned in the properties of file output node.

but i need to give custom file name and directory.i did above above changes, message is getting parsed successfully and it is not creating file in the directory.

please advise.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri Jul 04, 2008 12:12 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

looks like a double post...

http://www.mqseries.net/phpBB2/viewtopic.php?t=44220
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
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 » file output node
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.