Basically, this script kicks off another job. But when I run the job with the above script to kick off the other job, its giving error 50307/50616.
In the above EXEC statement, if I use ‘8’, there’s no error but this job is not kicking off the other job as it is supposed to. But if I use ‘1’ in the above EXEC statement, its failing with error 50307/50616.
Function failed to launch program <E:\Program Files (x86)\SAP BusinessObjects\DataServices\LOG\JOB_XXX_ABC>, due to error <50616
Is this a privilege issue? In 3.2, this is all working fine.
In 4.1, we are having this issue. We are migrating the jobs from 3.2 to 4.1
Yes, In 4.1 the log folder location has changed. I bet that is the issue.
In 4.1 and above, most config files goes to a new environmental variable called - DS_COMMON_DIR
It is even crazy, this actually goes to C Drive path - C:\ProgramData\SAP BusinessObjects\Data Services by default. Switch DS_COMMON_DIR to the LINK_DIR if you will want the same behavior as prior to 4.1
Turn off all services
Copy/Merge the folders/files in DS_COMMON_DIR into LINK_DIR location
Change the value for Environmental Variable
Restart Services
Please first make sure that you are able to kick off the job from the Job Server’s Command Prompt.
Disclaimer : You should not change this setting !!!
I think there exists an SAP Note for this. I will point you to that note as soon as I find the note number
1840848 - How are DS_COMMON_DIR and DS_USER_DIR variables determined in Windows - Data Services 4.1?