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
startd=today
startt=now+00:02
expi=today
exit
/* END STGPOOLBAC */
END SCRIPT
-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of
Spearman, Wayne
Sent: Tuesday, March 15, 2005 10:29 AM
To: ADSM-L@VM.MARIST.EDU
Subject: TSM scripts/macros
We
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 Scheduler. We are having
, 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 Deschner [EMAIL PROTECTED]
Subject: Re: Macros
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
The big advantage
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?
Gerald
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]
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). Server scripts
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 each command (move datas are a good example). Server scripts
[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
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.
Is
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 get the message
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 REMAINING
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 STARTTIME=10:40:00
:
Sent by: ADSM: Subject: Problem with macros
Dist Stor
Manager
[EMAIL PROTECTED]
T.EDU
03/12/2002 11:00
AM
Please respond
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 under scheduling. I
create a schedule:
DEFINE SCHEDULE STANDARD AUTOMATION DESCRIPTION
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
, 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 ACTION=MACRO
:
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 there to see what
happens.
Thanks
Joe
-Original Message-
From: Marc
]
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
run the macro
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
]
03/12/2002 10:18
Please respond to ADSM: Dist Stor Manager
To: [EMAIL PROTECTED]
cc:
Subject:Re: Problem with macros
I have searched through the admin ref guide and there is no mention on how
to Fully-Qualify this marco. Any docs that would point this out
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 nightly, I
-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/scripting (2
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
]
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 there an easy way to do this?
Steve Cochran
Dartmouth
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
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
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 b
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.
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
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.
32 matches
Mail list logo