It’s been a long time since I worked with a Centura database; but I still have some documentation books, so I tried to find something that could help in this matter, but I was not able to find anything. It seems that Sql Talk (BAT option, which I assume you are using) doesn’t allow something like that.
But, how about a separate small application or script to dynamically build the script file according to the current date ?
This BAT script could do something similar (you will probably need to edit it according the output format of your date).
echo set server server1; > script.txt
echo connect testdb 1 sysadm/XXXXXX; >> script.txt
echo update statistics on database; >> script.txt
echo check database; >> script.txt
echo commit; >> script.txt
echo SET BULK ON; >> script.txt
echo unload database z:\backups\VIS_%date%.UNL; >> script.txt
echo disconnect all; >> script.txt
echo EXIT; >> script.txt</pre>
You could then schedule the execution of this script, and then the execution of the backup through Sql Talk.
Hope this helps.