Results 1 to 7 of 7
  1. #1
    Newcomer
    Join Date
    Jan 2011
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Send messages to the TSM console

    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

  2. #2
    Senior Member Sunhillow's Avatar
    Join Date
    Oct 2003
    Location
    Stuttgart, Germany
    Posts
    346
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default

    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
    hg

  3. #3
    Newcomer
    Join Date
    Jan 2011
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  4. #4
    Member
    Join Date
    Jun 2004
    Location
    Finland
    Posts
    79
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    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/infoce...ef_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

  5. #5
    Newcomer
    Join Date
    Jan 2011
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi.
    Thank you very much. If I find a way to send messages to the console, I will write it.

    Greetings
    Sabine

  6. #6
    Senior Member Sunhillow's Avatar
    Join Date
    Oct 2003
    Location
    Stuttgart, Germany
    Posts
    346
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default

    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?
    hg

  7. #7
    Newcomer
    Join Date
    Jan 2011
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I mean dsmcon. But the solution showed by yukis have solved my problem.

Similar Threads

  1. Capturing console server messages
    By woot in forum TSM Installation, Upgrade and Configuration
    Replies: 7
    Last Post: 07-11-2010, 06:55 PM
  2. RMAN doesn't send anything to tsm
    By msosin in forum Oracle
    Replies: 13
    Last Post: 05-07-2010, 06:02 AM
  3. Replies: 4
    Last Post: 04-16-2008, 04:48 AM
  4. TSM on AIX(How to send automated email)??
    By adamlk in forum TSM Server
    Replies: 8
    Last Post: 04-06-2007, 10:30 AM
  5. Replies: 0
    Last Post: 01-12-2005, 11:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •