Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: connecting to sqlplus within a shell script

RE: connecting to sqlplus within a shell script

From: Steve Sapovits <SapovitsS_at_globalsportsinc.com>
Date: Wed, 18 Jul 2001 09:47:14 -0700
Message-ID: <F001.0034DAD4.20010718095150@fatcity.com>

SQL*Plus is probably performing terminal specific ioctl settings; e.g., setting it in something other than line mode so it can update the screen more efficiently, etc.

For scripting SQL, I'd recommend making a move to Perl/DBI. It rocks!



Steve Sapovits
Global Sports Interactive
Work Email: sapovitss_at_globalsports.com
Home Email: steves_at_delanet.com
Work Phone: 610-491-7087
Cell:       610-574-7706
Pager:      877-239-4003

> -----Original Message-----
> From: Kempf, Reed [SMTP:rkempf_at_rightnow.com]
> Sent: Wednesday, July 18, 2001 1:41 PM
> To: Multiple recipients of list ORACLE-L
> Subject: connecting to sqlplus within a shell script
>
> I use a lot of shell scripts (korn mainly) which use connections to
> sqlplus
> and always seem to get this error message when the script logs into
> sqlplus:
> stty: standard input: Inappropriate ioctl for device
>
> Here is my connection procedure within the script: sqlplus -s
> sitemon/sitemon << END
>
> To my knowledge it does not appear to cause any problems with my shell
> script or output but would really like to know why I am getting it and if
> there is any recommendations for fixing the problem.
>
> OS: Red Hat Linux 6.2
> ORACLE: 8.1.7 standard edition
> shell: korn
>
> Any help would be appreciated
>
> thanks
>
> Reed
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Kempf, Reed
> INET: rkempf_at_rightnow.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steve Sapovits
  INET: SapovitsS_at_globalsportsinc.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jul 18 2001 - 11:47:14 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US