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
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:
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
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
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
[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
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
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).
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]
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
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
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
-
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
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
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
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
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
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
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
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"
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
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
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
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
.
-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
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
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
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 been
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
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
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
33 matches
Mail list logo