Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







EXP:  ORA-01036:illegal variable name/number


Question:  We have many oracle8i databases running on Sun Solaris servers here. Recently, one of my colleagues transferred all of these databases to a SUN 6800 server (64-bit).
Now he has left the company and I am handling these databases.

The oracle software installed on this server is of 64-bit version
I am not sure if the databases were earlier running on 32-bit or 64-bit version software

Now, the full database export for each of the databases is working absolutely fine, except one
The error I was getting in it while doing full export was :

ORA-01036:illegal variable name/number

So what I did was, I shutdown the database, opened it in restricted mode, ran the catalog.sql and catproc.sql scripts as user internal.

 Answer by Edward Stoever:
Well, here is my guess... on the EXP: ORA-01036:illegal variable name/number error:

if you are in archivelog mode (find out with: select log_mode from v$database; ), make sure that this query returns a value of TRUE:

SELECT value FROM v$parameter WHERE name = 'log_archive_start';
1 row selected

What can happen is you create a new database with the purpose of importing from some source, and the import just hangs and hangs. That is because the logs fill up and cannot switch until archiving takes place.

This is a common human error which may explain what is happening to you.


Here is another guess..... if the export is done from a database on a different version from the import, there are rules for what exp and imp executables must be used.

Get the Complete
Oracle Utility Information 

The landmark book "Advanced Oracle Utilities The Definitive Reference"  contains over 600 pages of filled with valuable information on Oracle's secret utilities. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.




oracle dba poster

Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright 1996 -  2014

All rights reserved by Burleson

Oracle is the registered trademark of Oracle Corporation.