Send messages to the TSM console

Sabine-Salbei

Active Newcomer
Joined
Jan 18, 2011
Messages
13
Reaction score
0
Points
0
Hello NG.
Is ist possible to send messages to the TSM console? -TSM console means the programm which is started by tsmcon-

For example: at the end of a sql query,started by a perl script, a message should be displayed on the TSM console.

Greetings
Sabine
 
Hi Sabine,

do you want this message to see when the sql query is finished?
I always do such queries with the command embedded in `...` to read the result into a buffer.

Nevertheless, i don't know a way to send a message to an dsmadmc console
 
Hi.
In general, I want to send messages to the dsmadmc console.
For example: "Program x endet today at 10 o clock. There has no error occourded"

Greetings and thanks for helping
Sabine
 
Hi,

I also don't know how to send message to console, but issue message will do that to activity log.
Here's script example from TSM admin reference guide (can be downloaded here: http://publib.boulder.ibm.com/infoc....itsm.srv.ref.doc/b_srv_admin_ref_windows.pdf)

issue message i "Starting backup"
define clientaction nodename action=command objects="c:\backupscript" wait=yes
if (101) goto qfail
if (102) goto qwarn
if (103) goto backupf
if (104) goto restartf
issue message i "Backup of database complete"
exit
qfail: issue message e "Quiesce of database failed"
exit
qwarn: issue message w "Quiesce of database failed, taking fuzzy backup"
exit
backupf: issue message e "Backup of database failed"
exit
restartf: issue message s "Database restart failed"
exit
 
Hi.
Thank you very much. If I find a way to send messages to the console, I will write it.

Greetings
Sabine
 
yukis proposal is good.
Just run dsmadmc -tcpservername=xxx -id=yyy -pa=zzz issue message i "message"

and with "console" i think you mean another dsmadmc process running in console mode?
 
I mean dsmcon. But the solution showed by yukis have solved my problem.
 
Back
Top