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 » IBM MQ File Transfer Edition » .done file creation in Target server

Post new topic  Reply to topic
 .done file creation in Target server « View previous topic :: View next topic » 
Author Message
yellowbee
PostPosted: Wed Feb 25, 2015 8:13 pm    Post subject: .done file creation in Target server Reply with quote

Acolyte

Joined: 14 Apr 2012
Posts: 58

Hi All,

Can we sub string the source file name and create the .done file appended to sub string of the source file.

for example :- if the source file name is 456747.a.150224.txt,then the .done file should be 456747.done

Thanks in advance.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 26, 2015 5:44 am    Post subject: Re: .done file creation in Target server Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

yellowbee wrote:
Hi All,

Can we sub string the source file name and create the .done file appended to sub string of the source file.

for example :- if the source file name is 456747.a.150224.txt,then the .done file should be 456747.done

Thanks in advance.

Is there a question in there?
I would not recommend it. How would you distinguish between say
456747.a.xxx.txt and 456747.b.yyyy.txt ???
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
yellowbee
PostPosted: Thu Jun 04, 2015 3:21 pm    Post subject: Reply with quote

Acolyte

Joined: 14 Apr 2012
Posts: 58

[Is there a question in there?
I would not recommend it. How would you distinguish between say
456747.a.xxx.txt and 456747.b.yyyy.txt ???]


the requirement is such that first charcter are not unique..for example in this case 456747.a.xxx.txt, 456747 is a unique number.

so can we get the .done file as required

Thanks[/code]
Back to top
View user's profile Send private message
tomleend
PostPosted: Thu Jun 11, 2015 10:49 am    Post subject: Reply with quote

Acolyte

Joined: 24 Jan 2014
Posts: 51

You might be able to achieve what you want with a custom exit that overrides the destination file name at the start of the transfer:

http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.wmqfte.doc/exits_source_dest.htm

I haven't tried this myself tough.
Back to top
View user's profile Send private message
yellowbee
PostPosted: Thu Jun 25, 2015 12:48 pm    Post subject: Reply with quote

Acolyte

Joined: 14 Apr 2012
Posts: 58

Thanks for the info.i will check that
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 » IBM MQ File Transfer Edition » .done file creation in Target server
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.