cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass global variable values to exec function in SAP BODS?

0 Kudos

I have job1 which calls job2 which has 2 input parameters.

Input paramter 1: $start_year = '2016'

Input parameter2: $end_year ='2017'

Job2 is exported and saved as a TEST_FILE.bat file in the server. Now I am trying to trigger job2 using below command in job1.

EXEC( 'cmd','C:\\ProgramData\"SAP BusinessObjects"\"Data Services"\log\TEST_FILE.bat',8)

But my job2 has 2 global parameters $start_year and $end_year. Can anyone please write me the syntax of passing 2 parameters to the job2 using exec function.

Please don't provide my links for the syntax as I have seen them which are not working. Please provide the syntax:)

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member187605
Active Contributor
0 Kudos

Try this. The first hit is this page, the 2nd gives you the solution.