Re: ontape failures
Posted in 1998
In article <350C1931.26E6@netcomuk.co.uk>,
Neil Truby <ntruby@netcomuk.co.uk> wrote:
>
> ontape -s / ontape -r seems to give a zero return code irrespective of> whether it's worked or not. Does anyone have any tips for checking
> success or otherwise from wothin a script?
>
> Thanks
>
> Neil
> neil.truby@chase.com
>
Neil
two possible solutions:
Alias the ontape command with a script and run a timer in the script for as
long as the ontape lasts, the time taken should indicate success or failure
If you are running the ontape to disc before compressing to tape you can run
the 'strings' command on the head of the ontape file, there is a time stamp in
the header.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading