Skip to Content
0

How to run a shell script via Business Objects 4.2?

Apr 06 at 03:02 PM

57

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

AMIT KUMAR
Apr 06 at 04:10 PM
2

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.


untitled.png (15.8 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0
Denis Konovalov
Apr 06 at 03:06 PM
1

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.

Share
10 |10000 characters needed characters left characters exceeded