Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dbimport error

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi,
I exported the informix database.
Then, I executed dbimport command on unix prompt as follows:
dbimport dbname -d dbservername -i dbname.exp
It says...
"Cannot open sql script file"

Then i tried giving the name and path of the script file...as:
dbimport dbname -d dbservername -i dbname.exp -f <path>/dbname.sql
It says...
&quot;Can not write data to disk and tape at the same time&quot;

Is there any problem with the command /arguments.
Pls reply..its urgent!

Regards,
Albert
mailto: trin_trin@rediffmail.com
 
Albert:

The problem is you're giving the full path the sql file where you should be giving it to the parent directory where the export resides.

If database dbname.exp exists in /usr/tmp, change the above to:

dbimport dbname -d dbservername -i /usr/tmp

The -f switch is not needed if you follow the above.

regards,

Ed
Schaefer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top