It is currently 23 Sep 2017 3:07


Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: AFT - dynamic file name
PostPosted: 09 Jul 2015 4:56 
Offline
Nouveau
Nouveau

Joined: 09 Jul 2015 4:41
Posts: 3
Hello Experts,

I´m new to control-M and i was asked to create a new AFT job that does the following

1) Transfer a file named FILE-YYYYMMDD to a remote location with name OTHERFILE-YYYYMMDD

This transfer have to run daily.

I already manage to transfer a file with a fixed name and change its name, but i cant seem to find the way to specify the file name dinamicly (the name changes with every day)

Thanks for any input you can give on this issue.


Top
   
PostPosted: 28 Jul 2015 5:49 
Offline
Nouveau
Nouveau
User avatar

Joined: 20 Oct 2008 12:00
Posts: 12
Location: Bangalore,Karnataka
You can use //PATH/FILENAME-%%$YEAR.%%MONTH.%%DAY in the source and //PATH/OTHERFILENAME-%%$YEAR.%%MONTH.%%DAY in the destination.


Top
   
PostPosted: 24 Aug 2015 11:08 
Offline
Nouveau
Nouveau

Joined: 09 Jul 2015 4:41
Posts: 3
SreeMahi wrote:
You can use //PATH/FILENAME-%%$YEAR.%%MONTH.%%DAY in the source and //PATH/OTHERFILENAME-%%$YEAR.%%MONTH.%%DAY in the destination.


Thanks SreeMahi, it works perfect!!!

Thanks for your help.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved