Skip to Content

How to run a shell script via Business Objects 4.2?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 06 at 04:10 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 06 at 03:06 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded