The problem with the External Source stage is:
When I am selecting Source Method=Program File(s) and selecting selecting the Shell script file, the job aborts with the following message
Code: Select all
Source subproc: sh: -c: line 1: syntax error: unexpected end of file
On the contrary, when I change the Source Method to Specific Program(s), and set the Source Program property to execute the same script, something like :
Code: Select all
cd <file_path>; ./<script_name>.sh
Can somebody please me understand this erratic Datastage behavior ?
PS: I checked that shell in which Datastage is invoking the script is /bin/bash
Regards,
Kumarjit.