Results 1 to 6 of 6
  1. #1
    Newcomer
    Join Date
    Jul 2012
    Location
    Hungary
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Automatically add 'Yes' answer at TSM server prompt

    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

  2. #2
    Senior Member
    Join Date
    Oct 2002
    Location
    netherlands
    Posts
    334
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Default

    if you could get the the commands in flat file on the TSM server host, you could run
    macro /local_path/file

  3. The Following User Says Thank You to Jeroen For This Useful Post:

    BUR-admin (07-20-2012)

  4. #3
    Newcomer
    Join Date
    Jul 2012
    Location
    Hungary
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I tried and working!

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

    Thanks a lot!

  5. #4
    Senior Member
    Join Date
    Nov 2002
    Posts
    516
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Default

    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
    ....
    Windows, does it come with a gui?

  6. #5
    Newcomer
    Join Date
    Jul 2012
    Location
    Hungary
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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.

  7. #6
    Senior Member
    Join Date
    Dec 2009
    Location
    Brno
    Posts
    121
    Thanks
    1
    Thanked 19 Times in 18 Posts

    Default

    add option -nocommit (or nocomit ?) to dsmadmc

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

Similar Threads

  1. Replies: 3
    Last Post: 05-15-2014, 10:14 AM
  2. Replies: 6
    Last Post: 04-18-2011, 08:28 AM
  3. Replies: 7
    Last Post: 10-29-2010, 11:04 AM
  4. Replies: 0
    Last Post: 03-30-2010, 10:46 AM
  5. Replies: 3
    Last Post: 12-14-2009, 05:30 AM

Tags for this Thread

Posting Permissions

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