Login  Register

Re: java application and import dump

Posted by Roshan on Feb 26, 2018; 8:19pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/java-application-and-import-dump-tp5202p5261.html

Can I implement a condition testing in the import script , for example, read a variable from a file and if it is true, the import will start. Else, it will report and error

read n < fileDATA.txt

 

In fileDATA.txt, user will set a value

Yes - proceed

No - not proceed with import.

 

Y=Yes

N=No

 

if [$n ==$Y]

then

impdp ....

 

else

 

"Echo..."