Command Line Utility for Fire Run Service\ Manage Run Execution

Manage Run Execution utility can be used to execute Run definitions through RESTful Web Services call. To achieve this, RESTful Service, Client and Shell script are available.

Note:

The REST authentication is done against the Service Account user mentioned under OFSAA_SRVC_ACC parameter in the CONFIGURATION table. This user should be created with "SMS Auth Only" attribute from the User Maintenance window. By default, OFSAA_SRVC_ACC parameter is set as SYSADMN.

Following are the pre-requisites before executing this utility:

  1. Ensure that JAVA_HOME is pointing to JAVA bin installation directory.
  2. Ensure FIC_HOME is pointing to application installation directory.
  3. Set the PATH variable as $ICC_HOME/bin.

To execute this utility, do the following:

  1. Navigate to $FIC_HOME/ficapp/icc/bin of OFSAAI APP tier.
  2. Provide the following parameters in the command line

    Table 16-11 Arguments in the Run Definition and their Descriptions

    Arguments Description
    RUNCODE Refers to Run Code to be executed.
    INFODOM Refers to the mapped Information Domain.
    SEGMENT/FOLDER Refers to the Folder / Segment name to which run is getting executed.
    Run Execution Description

    Refers to the batch description.

    Note: In case the Run Execution description has space, the same can be passed using double quotes.

    USERNAME

    Refers to the user name who is executing.

    Note: The User ID or Service accounts are “SMS Auth Only” in case of SSO and LDAP configured setups.

    MISDATE Refers to the date with which the data for the execution would be filtered.
  3. Execute WSMRERequest.sh <Run Code> <Infodom> <Segment/Folder Code> <Run Execution Description> <Username> <MIS Date <yyyyMMdd>>.

    For example,

    ./WSMRERequest.sh "1305855689766" "APP" "APPSEG" "App approach" "APPUSER" "20001231”

  4. You can access the location $FIC_HOME/ficapp/icc/log/WSMRERequest.log to view the related log files. Also the component specific logs can be accessed in the location <OFSAAI deployed path>/logs.

    Every execution of Fire Run Service creates a text file in the location ficapp/icc/mre which contains the Batch ID created for that particular Run. The text file has the following format:

    INFODOM_RUNID_MISDATE.mre