Execute Batch Programs
- Last UpdatedNov 24, 2023
- 1 minute read
|
Run_job(applicationName, inputFile, bRunInBackground) |
||
|
The function runs the specified application. |
||
|
Input Parameters: |
||
|
applicationName |
string |
Name of application (from MarJob.xml) |
|
inputFile |
string |
Name of input file |
|
bRunInBackground |
integer |
Controls whether the function should wait until the application is terminated. |
|
Output Parameters: |
||
|
Returned values: |
||
|
[0] |
Integer |
Response |
|
[1] |
JobId |
The resulting job id. |
|
Exceptions: |
||
|
kcs_ArgumentError |
Invalid parameter value |
|
|
kcs_ValueError |
Could not execute specified application |
|