Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Issue with exec() command in 4.1

$
0
0

I am having issues with exec() in DS 4.1 The same script works fine in 3.2. Below is the script I am using -

 

 

 

$L_ETL_EXEC_FILE = 'JOB_XXX_ABC';

 

 

 

$L_ETL_FILENAME = GET_ENV ('LINK_DIR') || '\LOG\[$L_ETL_EXEC_FILE]' ;

 

 

 

print($L_ETL_FILENAME);

 

 

 

$L_RETURN_VARCHAR2 = EXEC ('[$L_ETL_FILENAME]', '', 8);

 

 

 

print('JOB_XXX_ABC Execution result: [$L_RETURN_VARCHAR2]');

 

 

 

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 <exec> 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

 

 

Can someone please help?


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>