How do you call a Unix script in DataStage?
Answer
Answer
- you can execute it like this ./myscript.sh this “./” to let the shell know that script is in the current directory and then the kernel will read the shebang and execute the shell interpreter that is defined.
- Use sh myscript.sh another way to execute the script.
- Use sh -x myscript.sh to execute in debug mode.