Automatically add 'Yes' answer at TSM server prompt

BUR-admin

Active Newcomer
Joined
Jul 6, 2012
Messages
5
Reaction score
0
Points
0
Location
Hungary
Hi,

Our task to delete schedules in case of many TSM nodes.

I created a VBA script to build TSM command lines in MS Excel. I copy the commands from EÍxcel and paste to TSM CL in batch.

The collocation group delete is OK, because it isn't ask for approval.

In case of schedule delete ask for 'y' to delete.

I tried add to 'y' in excel but the TSM command line dislike it.

Anybody an idea how to add this 'y?

Thank you,
Zsolt
 
if you could get the the commands in flat file on the TSM server host, you could run
macro /local_path/file
 
I tried and working!

From a simple .mac file accepted the command without y/n confirmation!

Thanks a lot!
 
Another quick fix when working with textfiles like this is to add a line wity just the letter y after your command

DEL SCHED DOM SCHED1
y
DEL SCHED DOM SCHED2
y
....
 
Thanks for other idea.

I really surprised that in case of the first hint the TSM has eaten the command line without confirmation. It is a positive impression about TSM in my case.

Just theoritically, what if somebody dismiss 100 nodes by a mistake...?

thanks again.
 
add option -nocommit (or nocomit ?) to dsmadmc

dsmadmc -id=ADMIN -pa=ADMIN -noc halt
 
Back
Top