ADSM-L

Re: PRESCHEDULE command fails on AIX, RC=256

1996-08-19 05:15:00
Subject: Re: PRESCHEDULE command fails on AIX, RC=256
From: Andreas Floeter <Andreas.Floeter AT AIRBUS DOT DE>
Date: Mon, 19 Aug 1996 11:15:00 +0200
On Sun, 18 Aug 1996, Alan Hamilton wrote:

Hi Alan,

>         I'm running ADSM under AIX 4.1.4 for both the server and clients.  
> When I
> try to run a script before a scheduled operation, it fails with a return
> code of 256.  The script does not run.  If I give a commadn directly, it
> works okay.  That is,
>
>  preschedule "echo Starting >> /tmp/sched"
>
>  works, but
>
>  preschedule "/usr/lpp/adsm/bin/preschedule"
>
>     with preschedule being a file with 666 permission and containing

If you use the file protections 666 the file does not have executable
rights. This may cause your problem.

>  #!/bin/csh
>  echo Starting >> /tmp/sched
>
> fails.  What is a RC=256?
>

______________________________________________________________________
Disclaimer: These are my views and not those of my employer.

                        Andreas Floeter
Phone: +49 40 74 37 - 48 50     FAX: +49 40 74 37 - 27 55 (or 47 60)
email: Andreas.Floeter AT airbus DOT de

                Daimler-Benz Aerospace Airbus GmbH
Kreetslag 10, 21129 Hamburg; Postfach 95 01 09, 21111 Hamburg, Germany
<Prev in Thread] Current Thread [Next in Thread>