AW: [ADSM-L] TSM scripts/macros

2005-03-15 Thread Thomas Rupp
Von: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Im Auftrag von Spearman, Wayne Gesendet: Dienstag, 15. März 2005 18:29 An: ADSM-L@VM.MARIST.EDU Betreff: [ADSM-L] TSM scripts/macros We are interested using a script or macro to control our admin schedules instead of using the Central Sched

Re: TSM scripts/macros

2005-03-15 Thread Riley, Craig
del sched ckproc type=admin def schedule ckproc cmd="run start_migration" active=yes startd=today startt=now+00:02 expi=today exit /* END STGPOOLBAC */ -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Spearman, Wayne Sent:

TSM scripts/macros

2005-03-15 Thread Spearman, Wayne
We are interested using a script or macro to control our admin schedules instead of using the Central Scheduler. We are having trouble figuring out how to detect that diskpool migrations are done so we can start backup copypool processes. Is anyone doing something similar to what we are wanting to

Re: Macros

2002-10-14 Thread Kai Hintze
Thursday, 10 October 2002 11:33 PM > To: [EMAIL PROTECTED] > Subject: Re: Macros > > > -- Information from the mail header > --- > Sender: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> > Poster: Roger Deschn

Re: Macros

2002-10-11 Thread Alex Paschal
n the foreground and update your password. I hope that helps. Alex Paschal Storage Administrator Freightliner, LLC (503) 745-6850 phone/vmail -Original Message- From: Roger Deschner [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 10:33 PM To: [EMAIL PROTECTED] Subject: Re: Macros

Re: Macros: Securing DSMADMC ID and Password

2002-10-10 Thread Seay, Paul
[mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 1:33 AM To: [EMAIL PROTECTED] Subject: Re: Macros The big advantage of ITSM Server Scripts over OS Shell Scripts (whether Unix shell, CMS EXEC, or whatever) is passwords. With a Server Script, you are not execuring dsmadmc for each command

Re: Macros

2002-10-10 Thread Roger Deschner
2, Alex Paschal wrote: >Well, I'll assume you mean TSM server scripts instead of shell scripts. > >Macros are really useful for multiple one time commands, like generating and >executing multiple commands where you don't want to have to answer "Yes/No" >for eac

Re: Macros

2002-10-10 Thread Alex Paschal
Well, I'll assume you mean TSM server scripts instead of shell scripts. Macros are really useful for multiple one time commands, like generating and executing multiple commands where you don't want to have to answer "Yes/No" for each command (move datas are a good example).

Re: Macros

2002-10-10 Thread Shannon Bach
I use macros to create input files for assembler programs. These programs do my batch reporting and offsite processing for our MVS OS/390 TSM Server. Shannon Bach Madison Gas & Electric Co. Operations Analyst - Data Center Services Office 608-252-7260 Fax 608-252-7098 e-mail [EMAIL PROTECTED]

Re: Macros

2002-10-10 Thread J D Gable
I don't use server scripts because the output of a server script cannot be redirected to a file. However, you can run a macro from cron (or command line) and redirect the output to wherever you wish. JD Gerald Wichmann wrote: > Why would one use macros instead of a server script? &g

Macros

2002-10-10 Thread Gerald Wichmann
Why would one use macros instead of a server script? Gerald Wichmann Senior Systems Development Engineer Zantaz, Inc. 925.598.3099 (w) This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This

Re: TSM Macros

2002-08-12 Thread Alexander Verkooijen
On 12-Aug-02 David E Ehresman wrote: > I have a TSM macro that issued a BACKUP STG for each of my five storage > pools. If a BACKUP STG command is issued by the macro for a storage > pool that does not have any data, I get the message "ANR2111W BACKUP > STGPOOL: No data to process." AND THE REMAI

Re: TSM Macros

2002-08-12 Thread Halvorsen Geirr Gulbrand
- From: David E Ehresman [mailto:[EMAIL PROTECTED]] Sent: 12. august 2002 14:19 To: [EMAIL PROTECTED] Subject: TSM Macros I have a TSM macro that issued a BACKUP STG for each of my five storage pools. If a BACKUP STG command is issued by the macro for a storage pool that does not have any data, I

TSM Macros

2002-08-12 Thread David E Ehresman
I have a TSM macro that issued a BACKUP STG for each of my five storage pools. If a BACKUP STG command is issued by the macro for a storage pool that does not have any data, I get the message "ANR2111W BACKUP STGPOOL: No data to process." AND THE REMAINING COMMANDS IN THE MACRO ARE NOT ISSUED. I

Re: Problem with macros

2002-03-12 Thread Joe Cascanette
Yep, got it working. I created all the macros as scripts. And just defined a schedule type=admin CMD='run databasecheck', this works fine. I am still working on error checking and testing, but here are my simple scripts that provide a bit of automation. Since my backup size varies

Re: Problem with macros

2002-03-12 Thread Andrew Raibeck
Cascanette <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 03/12/2002 10:18 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject:Re: Problem with macros I have searched throug

Re: Problem with macros

2002-03-12 Thread Joe Cascanette
Just a typo on the email. sorry. Joe -Original Message- From: Rushforth, Tim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 11:28 AM To: [EMAIL PROTECTED] Subject: Re: Problem with macros Does the macro run outside of the schedule? You have a typo in your select - not sure

Re: Problem with macros

2002-03-12 Thread Joe Cascanette
PROTECTED] Subject: Re: Problem with macros An update to my last response: I think the real problem is that you are trying to launch a server macro from a client schedule (I didn't catch that the first time around). How about defining an admin schedule whose CMD parameter is configured to

Re: Problem with macros

2002-03-12 Thread Andrew Raibeck
r Manager" To: [EMAIL PROTECTED] cc: Subject:Re: Problem with macros In lower versions of ADSM I have used this directory (saclient), however there is no directory with my current version of TSM. I will create this directory and put the macros in

Re: Problem with macros

2002-03-12 Thread Rushforth, Tim
12, 2002 10:00 AM To: [EMAIL PROTECTED] Subject: Problem with macros Server 4.2.1.12 - Windows 2000 Client 4.2.1.20 - Windows 2000 I am having problem launching macros at the server under scheduling. I create a schedule: DEFINE SCHEDULE STANDARD AUTOMATION DESCRIPTION="Automated TSM"

Re: Problem with macros

2002-03-12 Thread Joe Cascanette
In lower versions of ADSM I have used this directory (saclient), however there is no directory with my current version of TSM. I will create this directory and put the macros in there to see what happens. Thanks Joe -Original Message- From: Marc Levitan [mailto:[EMAIL PROTECTED

Re: Problem with macros

2002-03-12 Thread Andrew Raibeck
PROTECTED]> 03/12/2002 09:00 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject:Problem with macros Server 4.2.1.12 - Windows 2000 Client 4.2.1.20 - Windows 2000 I am having problem launching macros at the server und

Re: Problem with macros

2002-03-12 Thread Marc Levitan
Joe, I believe the macro have to be located in the "saclient" directory. Try that... Marc Levitan Storage Manager PFPC Global Fund Services Joe Cascanette cc: Sent by: "ADSM: Subject: Prob

Problem with macros

2002-03-12 Thread Joe Cascanette
Server 4.2.1.12 - Windows 2000 Client 4.2.1.20 - Windows 2000 I am having problem launching macros at the server under scheduling. I create a schedule: DEFINE SCHEDULE STANDARD AUTOMATION DESCRIPTION="Automated TSM" ACTION=MACRO OBJECTS=database PRIORITY=3 STARTDATE=03/12/02 START

Re: Macros/scripting

2001-08-18 Thread Hamilton, Dustin
. -Dustin -Original Message- From: Automatic digest processor [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 18, 2001 5:07 AM To: Recipients of ADSM-L digests Subject: ADSM-L Digest - 16 Aug 2001 to 17 Aug 2001 (#2001-225) 18. Macros/sc

Re: Macros/scripting

2001-08-17 Thread Slaughter, Bill
To: [EMAIL PROTECTED] Subject: Macros/scripting I'm still fairly new to ADSM, so bear with me here : ) I'm using ADSM 3.1 server I want to create a macro which does a 'q volume', but only on the volumes in the library currently (the ones listed with 'q libv'). Is ther

Macros/scripting

2001-08-17 Thread Stephen A. Cochran
I'm still fairly new to ADSM, so bear with me here : ) I'm using ADSM 3.1 server I want to create a macro which does a 'q volume', but only on the volumes in the library currently (the ones listed with 'q libv'). Is there an easy way to do this? Steve Cochran Dartmouth College

Re: Error Handling in Macros

2001-02-08 Thread Linda Seeba
We go into dsmadmc with the itemcommit option before we run macros: dsmadmc -itemcommit Linda Seeba Phone: (314) 234-5190 I/T Specialist - Sr Fax: (314) 232-4581 IBM Global Services E-Mail:[EMAIL PROTECTED

Re: Error Handling in Macros

2001-02-07 Thread Heinz Flemming
According to Kleynerman, Arthur: > type "commit" after each statement: > > q vol access=destroyed > commit > q vol access=unavail > commit > or: dsmadmc -itemcommit ... Regards, Heinz Flemming --- Heinz Flemming

Re: Error Handling in Macros

2001-02-06 Thread Kleynerman, Arthur
type "commit" after each statement: q vol access=destroyed commit q vol access=unavail commit etc. -Original Message- From: Steve Firmes [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 2:49 PM To: [EMAIL PROTECTED] Subject: Error Handling in Macros I have been

Error Handling in Macros

2001-02-05 Thread Steve Firmes
I have been trying to right a macro that contains several queries. The problem I am having is when the query doesn't return a result. example macro: q vol access=destroyed q vol access=unavailable result: ANR2034E QUERY VOLUME: No match found using this criteria. ANS8001I Return code 11. ANS802

Re: Using Date and Time symbol Substitution in Scripts or Macros

2000-10-04 Thread Dan Jennings
In UNIX (AIX Korn shell used as an example...): Here's one way to get it done. You can use a shell script to evaluate the current date, then write out a file that contains the "generate" command with the date string embedded in it. This would probably have to get run from cron, and an example m

Using Date and Time symbol Substitution in Scripts or Macros

2000-10-04 Thread Kelly J. Lipp
Gang, Here what I would like to do: generate backupset node setname'date' devclass=name scratch=yes... Where I replace 'date' with a symbol that will substitute today's date. Anybody have an idea how to do this from within a script or within a macro, or within a DOS .bat file? TIA, Kelly J. L