ADSM-L

Re: Windows Scripts

2003-12-11 09:39:29
Subject: Re: Windows Scripts
From: Tab Trepagnier <Tab.Trepagnier AT LAITRAM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 11 Dec 2003 08:35:31 -0600
Steve,

Don't limit yourself to command scripts.  Look into VB Script.  The
combination of VB Script (VBS) and Windows Script Host (WSH) gives you
access to a much more "precise" scripting environment along with access to
other Windows script interfaces such as ADO (ActiveX Data Objects), CDO
(Collaborative Data Objects), etc., plus the COM components of any
applications installed on your PC such as Internet Explorer or MS Office
apps.   All of that is unavailable via the standard Windows batch
interface.  I've been a big batch file writer since DOS 3.0, but I've
spent the last year or so learning VBS / WSH, and the combination feels
"liberating."

I suggest you explore it before committing to batch files.

Tab Trepagnier
TSM Administrator
Laitram LLC







Steve Roder <spr AT REXX.ACSU.BUFFALO DOT EDU>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
12/11/2003 08:11 AM
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        Windows Scripts


Hi All,

     Anyone know of a good repository of native win2k cmd scripts for
doing various TSM functions?  I am particularly interested in a script
that checks for full copypool volumes that are inside a library, issues
checkout commands (and does the reply), and updates the tapes' access to
offsite.

     I have written this script in perl on AIX, but the Windows servers I
help out with do not have perl installed, so .cmd files is what I am
looking at for this.

Any code, pointers, tips, reference sites would be greatly appreciated!

Thanks,

Steve Roder, University at Buffalo
HOD Service Coordinator
VM Systems Programmer
UNIX Systems Administrator (Solaris and AIX)
TSM/ADSM Administrator
UB DNS Team
(spr AT buffalo DOT edu | (716)645-3564)

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