I am attempting to import an Oracle dump file supplied by a customer into a database to replicate reported issues. Both the source db and target db are running The import command being used is:
imp system/sysdb2 file=exp_db1.dmp log=imp_db2.log ignore=y 
constraints=n indexes=n fromuser=CMS30 touser=cms30
The import starts and recognizes the tables; however each table errors with the message:
IMP-00017: following statement failed with ORACLE error 6550:
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 119:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

   begin case declare end exception exit for goto if loop mod
   null pragma raise return select update while with
   <an identifier> <a double-quoted delimited-identifier>
   <a bind variable> << close current delete fetch lock insert
   open rollback savepoint set sql execute commit forall merge
   <a single-quoted SQL string> pipe
I have successfully imported export files from this customer in the past. I'm puzzled by this problem occurring now, and any pointers would be extremely helpful. Thanks.

    Requires Free Membership to View

The most common reason for the PLS-00103 error is that the dump file was transferred to you in ASCII mode. If you are using FTP to perform the transfer, ensure the FTP program is transferring the file in binary mode. Some FTP programs try to automatically determine the file type and they incorrectly determine the dump file is an ASCII file, which it is not. I always tell my FTP program to transfer in BINARY mode.

This was first published in March 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: