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 » Fileoutput node Diractory and Name setting

Post new topic  Reply to topic
 Fileoutput node Diractory and Name setting « View previous topic :: View next topic » 
Author Message
PEPERO
PostPosted: Sun May 28, 2017 9:30 pm    Post subject: Fileoutput node Diractory and Name setting Reply with quote

Disciple

Joined: 30 May 2011
Posts: 177

Hi all;
In a message flow a huge message is splitted to smaller messages using a compute node. Since each of the propagted small message from the compute node contains an outputlocalenvironment with the following tree
Code:

(0x01000000:Name):Destination = (                                             
  (0x01000000:Name):File = (                                                 
    (0x03000000:NameValue):Directory = '/u/broker/axs05' (CHARACTER)         
    (0x03000000:NameValue):Name      = '1.MCOL1047' (CHARACTER)               
  )                                                                           
)                                                                             

This structure is maintained just before the FILEOUTPUT node as a trace node before the Fileoutput node proves this. So it is expected the output file node use the Directory and Name from the input local environment , but it doesnt.
It seems the local environment which is passed to the output file node is the one constructed when reading the first recoed cause the trace node put in the Failre path of the FILEOUTPUT node shows this.
I've to say that the file is produced in the mqsitransit directory but when it receives the Finish file event , it couldn't move the file to the desired directory.
Back to top
View user's profile Send private message
kash3338
PostPosted: Mon May 29, 2017 12:08 am    Post subject: Re: Fileoutput node Diractory and Name setting Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

PEPERO wrote:
This structure is maintained just before the FILEOUTPUT node as a trace node before the Fileoutput node proves this. So it is expected the output file node use the Directory and Name from the input local environment , but it doesnt.


What is the failure message? Did you capture the complete failure message and check for the exact error? Is it something to do with fail writing permissions?

PEPERO wrote:
It seems the local environment which is passed to the output file node is the one constructed when reading the first recoed cause the trace node put in the Failre path of the FILEOUTPUT node shows this.

This is the expected behaviour in case of failure. When a failure occurs, the Localenvironment in the failure terminal will contain the details of Input File node and not the altered local environment.

Check for the complete error message.
Back to top
View user's profile Send private message Send e-mail
PEPERO
PostPosted: Mon May 29, 2017 12:31 am    Post subject: Reply with quote

Disciple

Joined: 30 May 2011
Posts: 177

Since i don't want the values set for the fileoutput node at design time be used in runtime, the related attributes are left null. The failure occurs due to null values for the Directory and Name attributes.
The interesting issue is that the file is created with correct name '1.MCOL1047' in the mqsitransit directory but when it wants to put the file in the desired directory '/u/broker/axs05' on Finish event , the failure path is run.
Back to top
View user's profile Send private message
kash3338
PostPosted: Mon May 29, 2017 2:12 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

PEPERO wrote:
Since i don't want the values set for the fileoutput node at design time be used in runtime, the related attributes are left null. The failure occurs due to null values for the Directory and Name attributes.
The interesting issue is that the file is created with correct name '1.MCOL1047' in the mqsitransit directory but when it wants to put the file in the desired directory '/u/broker/axs05' on Finish event , the failure path is run.


That cannot be the issue. You can leave the File Output Node directory and File name fields blank and set them in ESQL.

Post your complete exception message. Get a user trace and check for the exact error message.
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 » Fileoutput node Diractory and Name setting
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.