cancel
Showing results for 
Search instead for 
Did you mean: 

How to run a shell script via Business Objects 4.2?

former_member198519
Active Contributor
0 Kudos

Can anyone help me understand the procedure behind running a shell script via BO 4.2?

I created a program file (which is my shell script), but when I run it, it does nothing. It give me the status as Success with the below message:

/apps/software/busxi42/bo42/sap_bobj/data/procSched/boxidev.AdaptiveJobServer/procprogram1fbc9c37b791e80/.crystal_env.sh: /apps/software/busxi42/bo42/sap_bobj/data/procSched/boxidev.AdaptiveJobServer/procprogram1fbc9c37b791e80/Test [1]: ./bin/bash^M: bad interpreter: No such file or directory

/apps/software/busxi42/bo42/sap_bobj/data/procSched/boxidev.AdaptiveJobServer/procprogram1fbc9c37b791e80/.crystal_env.sh: line 3: /apps/software/busxi42/bo42/sap_bobj/data/procSched/boxidev.AdaptiveJobServer/procprogram1fbc9c37b791e80/Test [1]: Success

Accepted Solutions (0)

Answers (2)

Answers (2)

amitrathi239
Active Contributor

have you tried to add the .SH file in the external dependencies section as highlighted.I have used many times but i have placed the .sh file in SAPJVN/BIN folder.

check screenshot.

former_member198519
Active Contributor
0 Kudos

It worked without specifing any parameter in the Program Parameters. Thanks for all the help 🙂

denis_konovalov
Active Contributor

Job server runs the script using the user under which SIA is running.
If you want to know what happens - enable hight level traces and look thru the logs.