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 » Solved! File not moved from mqsitransit

Post new topic  Reply to topic
 Solved! File not moved from mqsitransit « View previous topic :: View next topic » 
Author Message
yaakovd
PostPosted: Mon Sep 07, 2009 1:58 am    Post subject: Solved! File not moved from mqsitransit Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Hi

We have huge system built on file-to-file transactions. System is working absolutelly fine.

I've tried the following option:
1. Read input file by FileInput node.
Record tetection Fixed Length or in other case Delimited
Transaction - tried both options on/off

2. Output terminal connected to compute node for manipulation of data

3. Output of compute connected to In terminal of FileOutput node

4. End of data terminal of FileInput connected to End of data of FileOutput node.

As result: flow parses data properly and accumulates all in single file, but file remains in mqsitransit folder and not moves to output.

Thanks!
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel


Last edited by yaakovd on Tue Sep 08, 2009 2:16 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
yaakovd
PostPosted: Tue Sep 08, 2009 12:56 pm    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Any idea

According to documentation:
When multiple records are written, finish processing does not occur after the writing of each record; it occurs only when a message is received on the Finish File terminal of the node. Any message received on the Finish File terminal causes finish processing to start.

I see event on "End of Data", but when it reaching "Finish File" exception thrown:
Code:

ExceptionList
   RecoverableException
         File:CHARACTER:F:\build\S000_P\src\DataFlowEngine\ImbDataFlowNode.cpp
         Line:INTEGER:739
         Function:CHARACTER:ImbDataFlowNode::createExceptionList
         Type:CHARACTER:ComIbmFileInputNode
         Name:CHARACTER:BinaryProcessing/Idea_NOK_SMSC_Processing#FCMComposite_1_1
         Label:CHARACTER:BinaryProcessing.Idea_NOK_SMSC_Processing.ReadingFile
         Catalog:CHARACTER:BIPv610
         Severity:INTEGER:3
         Number:INTEGER:2230
         Text:CHARACTER:Node throwing exception
         RecoverableException
               File:CHARACTER:F:\build\S000_P\src\DataFlowEngine\TemplateNodes\ImbOutputTemplateNode.cpp
               Line:INTEGER:306
               Function:CHARACTER:ImbOutputTemplateNode::processMessageAssemblyToFailure
               Type:CHARACTER:ComIbmFileOutputNode
               Name:CHARACTER:BinaryProcessing/Idea_NOK_SMSC_Processing#FCMComposite_1_2
               Label:CHARACTER:BinaryProcessing.Idea_NOK_SMSC_Processing.WritingASCIIFile
               Catalog:CHARACTER:BIPv610
               Severity:INTEGER:3
               Number:INTEGER:2230
               Text:CHARACTER:Caught exception and rethrowing
               RecoverableException
                     File:CHARACTER:ComIbmFileOutputNode.java
                     Line:INTEGER:513
                     Function:CHARACTER:locateOutputFile
                     Type:CHARACTER:
                     Name:CHARACTER:
                     Label:CHARACTER:
                     Catalog:CHARACTER:BIPv610
                     Severity:INTEGER:3
                     Number:INTEGER:3325
                     Text:CHARACTER:
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:WritingASCIIFile
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:BinaryProcessing.Idea_NOK_SMSC_Processing
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:null
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:null

_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel


Last edited by yaakovd on Tue Sep 08, 2009 1:57 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Sep 08, 2009 1:20 pm    Post subject: Reply with quote

Grand High Poobah

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

Coding error in compute node?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
yaakovd
PostPosted: Tue Sep 08, 2009 2:15 pm    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

OK...

problem solved

In order to finish flow event, recieved on the Finish File must have same Destination File and Directory and not as it mentioned in documentation: "Any message received..."
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
Gaya3
PostPosted: Wed Sep 09, 2009 6:23 am    Post subject: Reply with quote

Jedi

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

let me know how you done this...please clear me
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
yaakovd
PostPosted: Wed Sep 23, 2009 8:24 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

There 2 options:
1. if you set destination folder and file name fixed in FileOutput node - it happen automatically

2. Ifyou use dinamic names in destination, then set same
OutputLocalEnvironment.Destination.File.Directory and
OutputLocalEnvironment.Destination.File.Name as in data message in compute node connected to FinishFile terminal of FileOutput node.
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Solved! File not moved from mqsitransit
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.