If you have a “pattern” to the name change ie date etc. you can “calculate” the name and use a file override for your copy.
If there is no pattern you could have the name of the file entered from a screen making it a variable in your CL program and use an override file over that variable name into your destination file.
If you are running it yourself you can do an override on a command line then call the program.
Need a few more details to help more specifically.
K
Discuss This Question: 6  Replies