Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: Issue with exec() command in 4.1

$
0
0

Hi Joshua,

 

This is the code I am using -

 

$L_ETL_EXEC_FILE = 'JOB_TEST';

 

 

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

 

 

print($L_ETL_FILENAME);

 

 

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

 

 

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

 

And, the error says it can't find the full path when I run the job with an error 50616 -

 

C:\ProgramData\SAP BusinessObjects\Data Services\LOG\Job_Name


If I were to use this path as substitution variable, would it help?


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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