Re: ontape within a script
Posted in 1998
In article <6a76h2$soh@drn.zippo.com>, Neil Truby <?@?.?> writes
>Apologies first of all; I've seen this question posted before, but I can't find
>the answer in any archives.
>
>When running an ontape -s, if the tape is not ready, the message to prepare the
>tape will be repeated. Within a script, this will simply start a tight loop
>which will quickly fill up the script logfile's file system.
>
>I've seen a technique described which limits the number of re-tries to a finite
>number, say 10 or 100. Can anyone remind me how to do this?
>
ontape -s -L 0 <<!End
End | head 100
>Thanks
>
>Neil Truby
>Chase Manhattan Bank
>Bournemouth, UK
>neil.truby@chase.com
--
David Williams
Maintainer of the Informix FAQ
Primary site (Beta Version) http://www.smooth1.demon.co.uk
Official site http://www.iiug.org/techinfo/faq/faq_top.html
I see you standin', Standin' on your own, It's such a lonely place for you, For
you to be If you need a shoulder, Or if you need a friend, I'll be here
standing, Until the bitter end...
So don't chastise me Or think I, I mean you harm...
All I ever wanted Was for you To know that I care