SQL*Plus® User's Guide and Reference Release 11.1 Part Number B31189-01 |
|
|
View PDF |
This appendix lists error messages with prefixes SP2- and CPY- generated by SQL*Plus:
For error messages with prefixes such as ORA-, TNS- and PLS- generated by Oracle Database, see the Oracle Database Error Messages guide.
Remove extra white space and comments.
Re-code to use fewer commands and/or shorter variable names.
Place sections of the block into stored (or packaged) procedures, and then call these procedures from the block.
command filename[.ext] [CR[EATE]|REP[LACE]|AP[PEND]]
where command can be SAVE, SPOOL or STORE SET
To use the command keywords CREATE, REPLACE, APPEND or one of their abbreviations as the filename, or to use the word FILE as the filename, you must enclose it in single quotes.
An error was encountered when creating the destination file.
A directory name specified in the SAVE statement was not found.
A system error made it impossible to open the file.
Check that the destination is valid and that there is sufficient space on the destination device.
Check the statement for a typing mistake in the directory name. Then issue the statement again after correcting the directory name.
An error was encountered when creating the destination file.
A directory name specified in the SAVE statement was not found.
A system error made it impossible to open the file.
Check that the destination is valid and that there is sufficient space on the destination device.
Check the statement for a typing mistake in the directory name. Then issue the statement again after correcting the directory name.
The file was not found under the specified name in the specified location.
File lacked the necessary privileges to open the file.
A system error made it impossible to open the file.
Make sure the file name specified is stored in the appropriate directory.
Make sure that the file has the privileges necessary for access. If it does not then change privileges accordingly.
Consult operating system documentation or contact the System Administrator.
sqlplus system @hlpbld.sql helpus.sql
Insufficient privileges to create a file.
A system error made it impossible to create a file.
Change privileges to allow creation of the file.
Consult the operating system documentation or contact the System Administrator.
This message is hard coded (in English) in the SQL*Plus source code so it can be displayed on message file error. It could never be read from this message file because the error occurs only when the message files cannot be opened. This entry in the message file is for documentation purposes only.
On Windows if the environment variable called SQLPLUS is set, it must contain the directory name of the SQL*Plus message files, for example ORACLE_HOME\sqlplus\mesg.
Also check that the file sp1XX.msb is in the $ORACLE_HOME/sqlplus/mesg or ORACLE_HOME\sqlplus\mesg directory. The "XX" stands for the country prefix associated with your NLS_LANG environment variable. SQL*Plus reads only one of the sp1XX.msb files. For example sp1ja.msb is read if NLS_LANG is JAPANESE_JAPAN.JA16EUC. If NLS_LANG is not set, then the default (English language) sp1us.msb is used. Check that the appropriate file is of non-zero size and that the file permissions allow it to be read. Note that ".msb" files are binary. The contents may be meaningless when viewed or printed. If you are unsure which language file is being used, unset NLS_LANG and run SQL*Plus to verify it can read the sp1us.msb file.