Re: User input in migration script
Posted by: Michael G. Zinner
Date: May 09, 2005 03:57AM


We have now finished to add an input function for the GrtSh. As with the next release you can use this function like this.

-- cut --

-- Set source connection
print("Set source connection.")

srcJdbc= "oracle.jdbc.OracleDriver"

srcPwd= input("Please enter the source database password: ")

srcJdbcConn= "jdbc:oracle:thin:system/" .. srcPwd .. "@localhost:1521:MTT"

-- cut --

We are going to add a modified "password" function as well that will only display *** instead of the real input. But this is much harder.


Options: ReplyQuote

Written By
May 06, 2005 03:08AM
Re: User input in migration script
May 09, 2005 03:57AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.