Results 1 to 5 of 5
  1. #1
    Newcomer markino87's Avatar
    Join Date
    Apr 2012
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb Script / Batch TSM

    Hi, would be nice to open a new thread, which includes various scripts for Batch tsm.
    I'm beginning.

    This script is for deleting nodes and related spaces, "incomplete" but because if tsm takes longer than expected elimination remove the node fails.
    Is anyone able to improve it?
    Attached Files Attached Files

  2. #2
    Moderator mikeymac's Avatar
    Join Date
    Jun 2003
    Location
    Syracuse, NY
    Posts
    896
    Thanks
    9
    Thanked 12 Times in 12 Posts

    Default

    Hi Markino!

    I would add a "wait=yes" to the 'delete filespace' command.

  3. #3
    Moderator chad_small's Avatar
    Join Date
    Dec 2002
    Location
    Gilbert, AZ
    Posts
    2,191
    Thanks
    1
    Thanked 25 Times in 24 Posts

    Default

    I concur with mikeymac, you need to add wait=yes or else the command to delete the node will try to run before the data is removed and you will fail the node removal.
    Chad Small
    IBM Certified Deployment Professional
    chadsmal@gmail.com
    http://www.tsmadmin.com

  4. #4
    Newcomer markino87's Avatar
    Join Date
    Apr 2012
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    tried with wait=yes, but doesn't work.
    I'm the only one that want to work easier with batch?

  5. #5
    Moderator moon-buddy's Avatar
    Join Date
    Aug 2005
    Location
    Somewhere in the US
    Posts
    5,861
    Thanks
    4
    Thanked 228 Times in 223 Posts

    Default

    Quote Originally Posted by markino87 View Post
    tried with wait=yes, but doesn't work.
    I'm the only one that want to work easier with batch?
    I don't think so.

    We work with batch and scripts to do daily TSM Admin work but, personally, I don't batch/script node deletes as this happens too seldom. If ever I batch them - if there are a handful to delete - I will delete the filespaces first then the node itself much, much later.
    Ed

Similar Threads

  1. oracle batch script fails
    By adsm04 in forum Oracle
    Replies: 0
    Last Post: 07-31-2009, 10:16 AM
  2. Need Help with Archive Batch Script (windows)
    By Schouwstra in forum Backup / Archive Discussion
    Replies: 1
    Last Post: 03-13-2009, 10:33 AM
  3. Batch script output problem
    By John22439 in forum Scripting
    Replies: 16
    Last Post: 03-13-2009, 09:58 AM
  4. Replies: 2
    Last Post: 07-28-2008, 11:33 PM
  5. TSM Command Script --> DOS Batch Program
    By sfcc in forum Scripting
    Replies: 2
    Last Post: 10-07-2005, 11:04 PM

Posting Permissions

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