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 » MFT Scheduled FileTransfer '${FileName}' param

Post new topic  Reply to topic
 MFT Scheduled FileTransfer '${FileName}' param « View previous topic :: View next topic » 
Author Message
stevenstevensod
PostPosted: Wed Nov 20, 2019 6:22 am    Post subject: MFT Scheduled FileTransfer '${FileName}' param Reply with quote

Newbie

Joined: 14 Nov 2019
Posts: 3

I'm aware that whilst using Monitors you can use ${FileName} and other variables to enable renaming of file on the destination box based on the input file. eg, where the file moves to the destination and then is appended with .csv

Code:

fteCreateTransfer -gt task.xml -rt -1 -jn "MyJob" -sa EISMULE -sm QMTKFT01 -da EISMULE -dm QMTKFT01 -df "/var/dest/${FileName}.csv" "${FilePath}"
fteCreateMonitor -ma EISMULE -mn d -md "/var/source/" -tr "match,*" -mt task.xml


These properties do not appear to be available to scheduled FileTransfers, or at least the ${FileName} is not recognised when used to derive.

My requirement is to create a scheduled filetransfer which derives the output filename from the source file name, add a timestamp, etc, where the original filename is not necessarily known (ie, using wildcards to match the file/s)

Could anyone suggest the way to implement the same/similar mechanism for scheduled transfers?
I'd settle for being able to identify the filenames that the wildcard matches so I can manipulate them with JS and spawn transfers
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 » MFT Scheduled FileTransfer '${FileName}' param
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.