Skip to Content

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

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:)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 09, 2017 at 03:59 PM

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

    Add comment
    10|10000 characters needed characters exceeded