Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Nils Myklebust — — source: Informix-list mailing list archive (1991-1998)
mortonj@interlog.com (John Morton) wrote:
: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.
:
:I know this question's been asked before, but I can't find it in the
:FAQs.
This was in the FAQ until the new release of it. It even contained a
warning about why some solutions that several users seem to have
implemented can lead to severe problems.
Here's the how we do it:
echo ''n' ' /usr/info71on/bin/ontape -s -L 0 ' head -100
As far as I remember the head -100 part was needed to avoide the
problems that could otherwise occur.
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
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.