dsmadmc detect password expired

dunnelj

Newcomer
Joined
Jan 27, 2009
Messages
2
Reaction score
0
Points
0
Location
Carlow, Ireland
I am attempting to interrogate the TSM database via a batch program.
The batch is

CD /d C:\Program Files\Tivoli\TSM\baclient\
dsmadmc.exe -id=%1 -password=%2 -tcps=%3 -dataonly=yes q pr > "C:\Documents and Settings\dunnelj\Local Settings\Temp\TSM_Process.txt"

Using the output file I can detect a) an incorrect Server Address, b) an incorrect UserId, c) an incorrect password, d) user account is locked.

However, if the user password has expired the process hangs.

Is there a way to detect that the password has expired?
 
Back
Top