ADSM-L

Re: Returncode 1 from PRESCHEDULECMD

1998-08-12 04:40:00
Subject: Re: Returncode 1 from PRESCHEDULECMD
From: Bang BA Ng <ngbab AT SG.IBM DOT COM>
Date: Wed, 12 Aug 1998 04:40:00 -0400
Hi,

You may want to change your bat file extension to CMD for WinNT.
Regards
BANG

IT Specialist - Network/PC Support                 Tel: 65-840-5071 Fax:
65-840-5009
ASEAN/SouthAsia                                                 Internet:
ngbab AT sg.ibm DOT com



ADSM-L AT VM.MARIST DOT EDU on 08/11/98 10:25:34 PM
Please respond to ADSM-L AT VM.MARIST DOT EDU
To: ADSM-L AT VM.MARIST DOT EDU
cc:
Subject: Re: Returncode 1 from PRESCHEDULECMD


Have you tried putting the redirection ( >c:\pre.txt) inside the precmd.bat
file instead of the dsm.opt?

----
Dennis Piche (Altair Engineering Inc.)  |
Dennis Piche (Altair Engineering Inc.)  |
Server and Network Services             |    Opinions are my own.
FSIC - Ford Motor Company               |
(313) 621-7578    dpiche1 AT ford DOT com      |    SEIZE THE DAY!!


        -----Original Message-----
        From:   Rupp Thomas (Illwerke) [SMTP:thomas.rupp AT ILLWERKE.CO DOT AT]
        Sent:   Monday, August 10, 1998 1:34 PM
        Subject:        AW: Returncode 1 from PRESCHEDULECMD

        Thanks for your reply.
        I checked the "Interact with desktop option" - and got no error.
        Now a DOS window flashes up for the pre- and postschedule command.
        But still none of both commands is executed.
        I modified the commands to pipe the output to a file (preschedulecmd

        "I:\ADSM\COMMANDS\WINNT\PRECMD.BAT > C:\PRE.TXT")
        The file is created, but has a size of 0 bytes.

        Do you think this problem will be solved by the September PTF?

        Kind regards
        Thomas Rupp

        > -----Ursprüngliche Nachricht-----
        > Von:  Piche, Dennis (D.M.) [SMTP:dpiche1 AT FORD DOT COM]
        > Gesendet am:  Montag, 10. August 1998 14:43
        > An:   ADSM-L AT VM.MARIST DOT EDU
        > Betreff:      Re: Returncode 1 from PRESCHEDULECMD
        >
        > I have had similar problems with preschedule commands.  Sometimes
the
        > "Interact with desktop option" needs to be checked on the
Scheduler
        > Service.
        > There is a problem with doing that though.  If you have set up the
        > scheduler
        > with the name "ADSM Central Scheduler Service" (so that you can
modify
        > the
        > scheduler through ADSM Services (Swiss Army Knife)) and you check
the
        > "Interact with desktop option", you will get an error when
bringing up
        > ADSM
        > Services.  This error will be fixed in the September PTF as per
IBM.
        >
        > ----
        > Dennis Piche (Altair Engineering Inc.)  |
        > Server and Network Services             |    Opinions are my own.
        > FSIC - Ford Motor Company               |
        > (313) 621-7578    dpiche1 AT ford DOT com      |    SEIZE THE DAY!!
        >
        >
        >         -----Original Message-----
        >         From:   Rupp Thomas (Illwerke)
        > [SMTP:thomas.rupp AT ILLWERKE.CO DOT AT]
        >         Sent:   Friday, August 07, 1998 7:01 AM
        >         Subject:        Returncode 1 from PRESCHEDULECMD
        >
        >         Hi everybody,
        >         I'm running ADSM/VM 2 and Backup Clients for Windows NT
V3.1.
        >         My DSM.OPT looks like
        >
        >         preschedulecmd "I:\ADSM\COMMANDS\WINNT\PRECMD.BAT"
        >         postschedulecmd "I:\ADSM\COMMANDS\WINNT\POSTCMD.BAT"
        >
        >         This pre and post commands end with returncode 1. No
message
        >         tells what's going wrong but the commands in the bat-files
are
        > not
        >         executed.
        >         Does anyone know what this returncode means or where I can
        > find
        >         more information?
        >
        >         Thanks in advance.
        >
        >         Kind regards
        >         Thomas Rupp
        >         Vorarlberger Illwerke AG
        >         MAIL:   thomas.rupp AT illwerke.co DOT at
        >         TEL:    ++43/5574/4991-251
        >         FAX:    ++43/5574/4991-820-8251



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