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: Oracle 9iR2, HP-UX 11i, (How) Can I...?

RE: Oracle 9iR2, HP-UX 11i, (How) Can I...?

From: Jesse, Rich <Rich.Jesse_at_quadtechworld.com>
Date: Thu, 13 May 2004 13:28:26 -0500
Message-ID: <FBE1FCA40ECAD41180400050DA2BC54004E93969@qtiexch2.qgraph.com>


One thought is to have a Perl (!) front-end to the SQL*Plus script that = parses the filenames before passing them the arguments with the = directory explicitly specified.

Just a thought...

Rich "=3D20" Jesse

Rich Jesse                        System/Database Administrator
rich.jesse_at_quadtechworld.com      QuadTech, Sussex, WI USA


> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> Sent: Thursday, May 13, 2004 12:13 PM
> Subject: Oracle 9iR2, HP-UX 11i, (How) Can I...?

>=20

> Is it possible to determine the current working directory as I
> am running a SQL script from the command line?
>=20

> I have a script that I want to pass a file name, and I want the=3D20
> log file to be in the same directory as the script, which is not
> necessarily the same location as the passed file name. So I am=3D20
> trying to find a way to determine the current 'pwd', and feed that
> value to a utl_file.fopen call. Currently I prompt the user for
> the directory, but I'd like to find something smoother.


Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Thu May 13 2004 - 14:15:35 CDT

Original text of this message

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