You can add the export statement at the beginning of every line:
Code:
export SCHEMANAME=ABCD
export DBNAME=DGOL02.UK.HIBM.HSBC
export DSUSER=ABCD
export DSPASS=Test1
then you simply have to source this file:
Code:
. /opt/Scripts/scriptname
If you want to do this automatically every time you start a new shell, put the above statement into your $HOME/.bashrc (assuming your default shell is /bin/bash).