ADSM-L

Re: Problem with macros

2015-10-04 17:10:42
Subject: Re: Problem with macros
From: Marc Levitan [mailto:marc.levitan AT PFPC DOT COM]
To: ADSM-L AT VM.MARIST DOT EDU
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
                    <Joe.Cascanette@        To:     ADSM-L AT VM.MARIST DOT EDU
                    CUMIS.COM>              cc:
                    Sent by: "ADSM:         Subject:     Problem with =
macros
                    Dist Stor
                    Manager"
                    <[email protected]
                    T.EDU>


                    03/12/2002 11:00
                    AM
                    Please respond
                    to "ADSM: Dist
                    Stor Manager"





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=3D"Automated TSM"
ACTION=3DMACRO OBJECTS=3Ddatabase PRIORITY=3D3 STARTDATE=3D03/12/02
STARTTIME=3D10:40:00 DURATION=3D15 DURUNITS=3DMINUTES PERIOD=3D1 =
PERUNITS=3DDAYS
DAYOFWEEK=3DWEEKDAY EXPIRATION=3DNEVER

I associate the schedule to CLIENT (the server) and I watch it launch in
the events (q ev * *). When the event launches it gives me an error in =
the
actlog:

03/12/2002 10:40:50 ANR0406I Session 1989 started for node CLIENT =
(WinNT)
(Tcp/Ip 172.16.8.35(3352)).
03/12/2002 10:40:50 ANR0484W Session 1989 for node CLIENT (WinNT)
terminated - protocol violation detected.

Here is my marco (database.mac) that is located in the BACLIENT =
directory:
select process form processes where process=3D'backup storage pool'
if (rc_notfound) goto database
goto resced
exit

database:
issue message i "Copying of ONSITE tapes to OFFSITE tapes is
COMPLETE...will now start FULL Database backup"
BACKUP DB DEVC=3DDLT TYPE=3DFULL
/* delete schedule and add new one to reflect next script */
exit

RESCED:
issue message i "Copying of ONSITE tapes to OFFSITE tapes is not
complete...will recheck in 15 minutes"
/* will update schedule to check in 15 minutes */
exit
<Prev in Thread] Current Thread [Next in Thread>