I don't think it's anything to do with rc.startjob script as we use two ways to call jobs from shell scripts.
ba6.1 -- -set BSE_COMPNR=200 ttaad5203m000 after exporting BSH_JOB
Both of the above methods fail.
Users use bash as login shell.
As Martin says there is something different somewhere but I canot see it.