RunExecutable

In the Process Flow window, click the RunExecutable icon in Widget from the toolbar and Drag and drop it onto the canvas. Double-click the widget to display the Activity window.

Figure 8-6 Dynamic Parameters for RUN EXECUTABLE


This image displays the Dynamic Parameters for RUN EXECUTABLE.

Table 8-5 Dynamic Parameters for RUN EXECUTABLE Description

Field Name Description
Datastore Name Refers to the name of the Information Domain. By default, the Information Domain to which you are connected is selected.
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. Additionally, 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 Parameter

The following runtime parameters can be passed during run execution:

  • $RUNID
  • $PHID
  • $EXEID
  • $RUNSK
  • $MISDATE
  • $BATCHRUNID

Values for the runtime parameters are implicitly passed while executing the Run definition.

Note: The length of PHID is 255 characters and TASKID is 100 characters.