How do you call a Unix script in DataStage?

Minh Tung

New member
How do you call a Unix script in DataStage?
Answer
  1. 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.
  2. Use sh myscript.sh another way to execute the script.
  3. Use sh -x myscript.sh to execute in debug mode.
 

Tìm kiếm

Back
Top