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.
AFT - dynamic file name
Re: AFT - dynamic file name
You can use //PATH/FILENAME-%%$YEAR.%%MONTH.%%DAY in the source and //PATH/OTHERFILENAME-%%$YEAR.%%MONTH.%%DAY in the destination.
Re: AFT - dynamic file name
Thanks SreeMahi, it works perfect!!!SreeMahi wrote:You can use //PATH/FILENAME-%%$YEAR.%%MONTH.%%DAY in the source and //PATH/OTHERFILENAME-%%$YEAR.%%MONTH.%%DAY in the destination.
Thanks for your help.