Re: Another ontape question
Posted in 1998
Please check in the faq for a better way to do it and why you want to
use that. See my signature for the location of the faq.
On Wed, 24 Jun 1998 21:33:29 +0300, "Ants" <insight@shabakah.com>
wrote:
>
>First you have to put the informix environment variables in your script. e.g
>INFORMIXDIR and so on.
>
>For the ENTER, you may do the following:
>
>ontape (your parameters e.g -L 0) << EOF
> #empty line
>EOF
>
>This will treat whatever between the two labels EOFs as if you are typing it
>on the command line.
>
>HTH
>
>Nien
>-----Original Message-----
>From: cjw@yang.interaccess.com <cjw@yang.interaccess.com>
>To: insight@shabakah.com <insight@shabakah.com>
>Date: Wednesday, June 24, 1998 09:23 '
>Subject: Another ontape question
>
>
>>Hello there--
>>
>> I am trying to put this ontape command into a script which
>>will run unattended. How can I get around ontape prompting me to press
>>the return key?
>>
>> I have tried echoing a CR and piping it to ontape, and tried
>>redirecting the standard input from a file with just a CR in it. They
>>do not work.
>>
>> cjw
>>
>>Christopher J. Wargaski; cjw@interaccess.com
>>"We can judge the heart of a man by his treatment of animals." --Immanuel
>Kant
>>
>>Life is sexually transmitted.
Nils Myklebust
NM Data AS
Norway
E-mail: Nils.Myklebust@nmdata.com
FAQ at: http://www.iiug.org/techinfo/faq/faq_top.html
(Now with ODBC info under "Third party products".)