Sent Commands to the Consol

michael-r

ADSM.ORG Member
Joined
Feb 26, 2009
Messages
31
Reaction score
0
Points
0
Hi,

is there a possibility to sent commands throw the Console?
I think of somethink like a Batchfile, sent Query, Update, Audit Commands to it?

I want to change read/write Access to the Tapes, i have no Tape Library so the Bandrotation don't work itself. (Stand in the Information Center)

Kind Regards
Michael
 
Windows? If you are familiar with dsmadmc.exe, yes, you can use it to send commands to TSM from the command line.
Code:
.\dsmadmc.exe -id=$username -password=$password QUERY DRIVE F=D
See here for documentation.
 
This would be a great help, but it's not working:

C:\Programme\Tivoli\TSM\server\tsmdiag\dsmadmc -id=admin -password=admin Update vol FR acc=read

I got the following error:
ANS0101E Unable to open English message repository 'dscenu.txt'.

If i give it up over command line, it works. As Batch not.

Kind Regards
Michael
 
Current directory has to be tsm/baclient, where dsmadmc.exe is located. That's why I wrote .\dsmadmc.exe; you have a complete path. Not gonna work.

I have a batchfile tsmc.cmd, located somewhere in my path, which does
Code:
@pushd "c:\program files\tivoli\tsm\baclient"
@dsmadmc -id=<username> -password=<password> -dataonly=yes %*
@popd
so I can just tsmc upd vol fr acc=readonly.
 
I have the dsmadmc.exe under C:\Programme\Tivoli\TSM\server\tsmdiag.

But it working just great, thank you much :).
 
Back
Top