Re: Unattended ontape
Posted in 1997
"Schneider Peter" <Peter.Schneider@sni.siemens.at> wrote:
:John Morton <mortonj@interlog.com> wrote in article
:<335695a5.186425653@news.interlog.com>...
:> Hi there. We're looking at automating our nightly archive via a shell
:> script (AIX) run via cron, but we can't figure out how to simulate the
:> enter key after the tape is mounted.
:>
:You should use the so called here-document:
: ontape -s -L 0 <<END
:
: END
:The empty line simulates the enter key.
If someone have the old faq or otherwise know could they please post
the problems that where described with using this simple shellscript.
I can't find it in the new faq. May be I haven't looked good enough?
Nils.Myklebust@idg.no
NM Data AS, P.O.Box 9090 Gronland, N-0133 Oslo, Norway
My opinions are those of my company
The Informix FAQ is at http://www.iiug.org