I'm writing a ksh script to refresh schema from prod to dev/test/qa environment. I would like to have disaster check in place, I'm asking user to input source and target database as well as schema names. When the user accidentally enter prod database as target database name I would like the script to exit. In our environment the production database name ends with p some times followed by 01, 02, 03 etc.I'm writing a ksh script to refresh schema from