Hello,
Why are you using a command instead of selective action in TSM schedule? You have 2 commands in your script, if the first fail (systemstate) the error will not be reported to TSM (It is a problem). You also need deal with return code in the script.
My suggestion to you is create a new job like example below and try again:
TSM>define sched DOMAIN_NAME SCHEDULE_NAME action=selective objects='C:\*' options='-subdir=yes' startt=xxx day=xxx
TSM>define assoc DOMAIN_NAME SCHEDULE_NAME NODE_NAME
But if you really want to use your script the problem should be dsmc executable, probably because dsmc is not set in PATH variable. You have to add "backup_dir" variable (that you set in the beginning of the script) before as a path for dsmc.
%backup_dir%\dsmc backup systemstate >> backupfull.log
%backup_dir%\dsmc sel C:\* -su=yes >> backupfull.log
Regards,