unix script called through a sequence job
Posted: Mon Aug 08, 2011 5:21 am
Hi All,
Im trying to execute a unix script through 'execute command' stage . No other stages used. The value given in the command tab is : sh /rdw/prd/CIS/SCRIPTS/DDD.sh
In the parameter section value is : #ScriptDateValue#(which is JUL-2011,partitionvalue of the table).
The script is suppose to insert data into few tables.
Datastage job finishes with no error. But data is not loaded in the tables.
While if i trigger the same script though unix its executing successfully.
The logs in the director are as below:
mthly_test2..JobControl (@sh): Executed: sh /rdw/prd/CIS/SCRIPTS/DDD.sh JUL-2011
Reply=127
Output from command ====>
/rdw/prd/CIS/SCRIPTS/DDD.sh[4]: sqlplus: not found
Can anybody help me with this?
Im trying to execute a unix script through 'execute command' stage . No other stages used. The value given in the command tab is : sh /rdw/prd/CIS/SCRIPTS/DDD.sh
In the parameter section value is : #ScriptDateValue#(which is JUL-2011,partitionvalue of the table).
The script is suppose to insert data into few tables.
Datastage job finishes with no error. But data is not loaded in the tables.
While if i trigger the same script though unix its executing successfully.
The logs in the director are as below:
mthly_test2..JobControl (@sh): Executed: sh /rdw/prd/CIS/SCRIPTS/DDD.sh JUL-2011
Reply=127
Output from command ====>
/rdw/prd/CIS/SCRIPTS/DDD.sh[4]: sqlplus: not found
Can anybody help me with this?