| Author | 
		  Message
		 | 
		
		  | yaakovd | 
		  
		    
			  
				 Posted: Mon Sep 07, 2009 1:58 am    Post subject: Solved! File not moved from mqsitransit | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | yaakovd | 
		  
		    
			  
				 Posted: Tue Sep 08, 2009 12:56 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Tue Sep 08, 2009 1:20 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | yaakovd | 
		  
		    
			  
				 Posted: Tue Sep 08, 2009 2:15 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Gaya3 | 
		  
		    
			  
				 Posted: Wed Sep 09, 2009 6:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | yaakovd | 
		  
		    
			  
				 Posted: Wed Sep 23, 2009 8:24 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |