ADSM-L

Re: Script problems

2002-10-09 10:21:34
Subject: Re: Script problems
From: "Frost, Dave" <dave.frost AT SUNGARD DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 9 Oct 2002 15:17:11 +0100
I should have written dsmadmc not dsmc.

The -outfile parameter on dsmadmc has been there since v3 at least.


  regards,

-=Dave=-
-- 
+44 (0)20 7608 7140

perl -e "print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);"



-----Original Message-----
From: Pétur Eyþórsson [mailto:peddi AT ITN DOT IS]
Sent: Wednesday, October 09, 2002 1:44 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Script problems


What version level are you using in ITSM 5.



Kvedja/Regards
Petur Eythorsson
Taeknimadur/Technician
IBM Certified Specialist - AIX
Tivoli Storage Manager Certified Professional
Microsoft Certified System Engineer

peddi AT itn DOT is

 Nyherji Hf              Simi TEL: +354-569-7700
 Borgartun 37            105 Iceland
 URL:                    http://www.nyherji.is


-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
Frost, Dave
Sent: 9. október 2002 10:43
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Script problems


try adding the parameter "-outfile" to the dsmc command.  From unix..

dsmadmc -id=xx -pa=yy -outfile -tab select volume_name from volumes \
        where devclass_name like \'3590DEV\'


  regards,

-=Dave=-
--
+44 (0)20 7608 7140

A Bugless Program is an Abstract Theoretical Concept.



-----Original Message-----
From: Seay, Paul [mailto:seay_pd AT NAPTHEON DOT COM]
Sent: Wednesday, October 09, 2002 2:20 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Script problems


I do not know why yours stopped working, but this will work:

dsmadmc -id=## -pass=##  "select volume_name from volumes where
devclass_name like '3590DEV' " |cat

Paul D. Seay, Jr.
Technical Specialist
Naptheon Inc.
757-688-8180


-----Original Message-----
From: bbullock [mailto:bbullock AT MICRON DOT COM]
Sent: Tuesday, October 08, 2002 7:28 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Script problems


        Folks,

Just today, I upgraded from TSM 4.1 to TSM 5.1 This is an AIX host running
4.3.3 ML 10. Everything went smoothly. It even rebuilt the new "path"
configurations for the tapes and drives by itself. I didn't have the
"cleanup backupset" issue because this TSM server only backs up some VMS
clusters, so I had no "SYSTEM OBJECTS". I most likely will not be so lucky
in 2 weeks when I have to upgrade some TSM servers that backup NT hosts)

        I've only encountered 1 problem this far:

I gather some stats off of the TSM server with various scripts. When I run
these scripts, I typically put a "</dev/null" on the end, otherwise it gets
to the first "(<ENTER> to continue, 'C' to cancel)" prompt and just sits
there. As a simple example:

         dsmadmc -id=## -pass=##  "select volume_name from volumes where
devclass_name like '3590DEV' " </dev/null

        (to get a listing of tape numbers of a certain device class).

This has always worked in the past but now that I'm at 5.1, it gets to the
first "(<ENTER> to continue, 'C' to cancel)" prompt and then perpetually
spews:
        ...
        The character '#' stands for any decimal integer.The only valid
responses are characters from this set: [Enter, C]
        The character '#' stands for any decimal integer.The only valid
responses are characters from this set: [Enter, C]
        The character '#' stands for any decimal integer.The only valid
responses are characters from this set: [Enter, C]
        ...

        It seems to dislike the "</dev/null" very much.

        Anybody seen this? Is there a better way to do this? I'm guessing
there is, otherwise it would be in the archives. Something like a
"-youdonthavetohittheenterkey" option.

        Somebody enlighten me. ;-)

Thanks,
Ben

________________________________________________________________________
This e-mail has been scanned for all viruses by MessageLabs.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

________________________________________________________________________
This e-mail has been scanned for all viruses by MessageLabs.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

<Prev in Thread] Current Thread [Next in Thread>