Re: SPOOL command in same script for Windows & UNIX clients

From: Daniel Morgan <damorgan_at_exxesolutions.com>
Date: Fri, 16 May 2003 08:45:47 -0700
Message-ID: <3EC507AB.4A9287F1_at_exxesolutions.com>


Stephen Haunch wrote:

> Hi,
>
> I have SQL*Plus scripts which run primarily through the Windows SQL*Plus
> client, these scripts contain SPOOL commands like this: -
>
> SPOOL Output\uunl-135-&reportdate..txt
>
> If I were to run this script using a UNIX SQL*Plus client the SPOOL command
> shown above would cause problems because it should be: -
>
> SPOOL Output/uunl-135-&reportdate..txt
>
> Is there a way to make SQL*Plus figure out which type of directory delimiter
> to use, i.e. \ for Windows and / for UNIX?
>
> Any help would be appreciated!
>
> Steve

No.

And it would be meaningless to do so as you won't find c:\ anything on a UNIX machine.

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Fri May 16 2003 - 17:45:47 CEST

Original text of this message