My Oracle Support Banner

Error SP2-0332 While Creating Spool File Name Using a Variable Followed by Other Characters (Doc ID 566443.1)

Last updated on FEBRUARY 01, 2024

Applies to:

SQL*Plus - Version 10.2.0.3 and later
Linux x86-64
This applies to Linux/Unix Platforms.



Symptoms

While spooling script output to a file from SQL*Plus,  the following error is returned:

SP2-0332 : Cannot create spool file.


Example script: 

Changes

The script works on Windows; however, the script fails with SP2-0332 on Linux and other Unix operating systems (OS).

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.