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.
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