I try to use export in a batch (Windows)
It works well, but my batch is not perfect:
if the password for the user (schema) I use for export changes, then export utility asks (interactive mode) to reenter login/password, and my batch is stucked forever.
Example:
My batch does the following:
J:\>exp scott/deadtiger@mdb file=test.dmp
Export: Release 8.1.7.0.0 - Production on Fri Oct 25 15:23:34 2002
(c) Copyright 2000 Oracle Corporation. All rights reserved.
EXP-00056: ORACLE error 1017 encountered
ORA-01017: invalid username/password; logon denied
Username:
---> Exp waits for the batch to reenter Username, and then nothing happens...
So, is there a way to avoid exp to enter interactive mode? ie: if there's an error, it returns the error code and that's it.
Thanks for answers
Regards
It works well, but my batch is not perfect:
if the password for the user (schema) I use for export changes, then export utility asks (interactive mode) to reenter login/password, and my batch is stucked forever.
Example:
My batch does the following:
J:\>exp scott/deadtiger@mdb file=test.dmp
Export: Release 8.1.7.0.0 - Production on Fri Oct 25 15:23:34 2002
(c) Copyright 2000 Oracle Corporation. All rights reserved.
EXP-00056: ORACLE error 1017 encountered
ORA-01017: invalid username/password; logon denied
Username:
---> Exp waits for the batch to reenter Username, and then nothing happens...
So, is there a way to avoid exp to enter interactive mode? ie: if there's an error, it returns the error code and that's it.
Thanks for answers
Regards