Component: RUN EXECUTABLE

The following table describes the fields in the Run Executable.

Table 11-15 Fields in the Run Executable and their Descriptions

Field Description
Executable

Refers to the executable path on the DB Server. The Executable parameter contains the executable name as well as the parameters to the executable. These executable parameters have to be specified as they are specified at a command line. In other words, the Executable parameter is the exact command line required to execute the executable file.

The path to the executable has been entered in quotes. Quotes have to be used if the exe name has a space included in it. In other words, the details entered here should look exactly as you would enter it in the command window while calling your executable. The parameter value is case-sensitive. So, ensure that you take care of the spaces, quotes, and case. Also, commas are not allowed while defining the parameter value for executable.

To pass parameters like $RUNID, $PHID, $EXEID, $RUNSK to the RUN EXECUTABLE component, specify RRFOPT=Y or rrfopt=y along with other executable details.

Wait

When the file is being executed you have the choice to either wait till the execution is completed or proceed with the next task.

Select Y (Yes) or N (No) from the drop-down list.

  • Y- Select this if you want to wait for the execution to be completed
  • N- Select this if you wish to proceed.

If the task is using FICGEN/RUN EXECUTABLE component and there is no precedence set for this task, then the WAIT should always be set to 'N'.

Batch Parameter

Y- Select Yes if you want to pass the Batch parameters to the shell script file being executed.

  • If Wait is selected as Y and Batch Parameter is selected as Y, following parameters are passed to the executable:

    NIL <BatchExeRunID> <ComponentId> <Task> <Infodate> <Infodom> <DatstoreType> <IPAddress>

  • If Wait is selected as N and Batch Parameter is selected as Y, following parameters are passed to the executable:

    <BatchExeRunID> <ComponentId> <Task> <Infodate> <Infodom> <DatstoreType> <IPAddress>

N- Select No if the Batch parameters should not be passed to the shell script.

Optional Parameters

This field will be considered only if you have specified RRFOPT=Y or rrfopt=y in the Executable field.

Specify the optional parameters that you want to pass to the executable. For example, $RUNID, $PHID, $EXEID, $RUNSK.