Need help with shell script which calls Datastage Job
Posted: Mon Nov 28, 2011 4:40 am
Hi Guys,
I have shell script which is calling Datastage job and is running perfectly.
The problem is the parameters needed are in a Oracle table which i need to fetch.
I am able to fetch them if i write in a separate script,but when i include the same code in the script which is calling Datastage (sourcing dsenv file), the sql is failing with the below errror.
My guess is dsenv is changing some of the required params for Oracle. Has anybody included a SQL command in a Datastage calling Script.
Please guide me as what i am doing wrong.
Cheers!!!!
I have shell script which is calling Datastage job and is running perfectly.
The problem is the parameters needed are in a Oracle table which i need to fetch.
I am able to fetch them if i write in a separate script,but when i include the same code in the script which is calling Datastage (sourcing dsenv file), the sql is failing with the below errror.
Code: Select all
Error 19 initializing SQL*Plus
Invalid NLS character set for this OS environment
Please guide me as what i am doing wrong.
Cheers!!!!