B.2 Create/Execute LRM Batch from Command Line
To generate the execution IDs the following steps can be followed by passing
all requisite parameters at command line. Perform the following steps, to create or
execute LRM batch from command line:
- Navigate to
$FIC_APP_HOME/icc/bin
path and openlrmExecParams.properties
. - Provide all the required parameters. All Parameters are mandatory, except for
the Contractual Run Execution ID which is required in case of BAU / Stress
Run.
- RUNID:
- In case of Contractual Run and BAU Run, the N_RUN_OBJECT_ID
(FSI_LRM_RUN_PARAM.N_RUN_OBJECT_ID) of the run definition you are trying to
execute.
Example: If the name of the Run definition created is 'TEST2131', execute the below query to get the n_run_object_id
SELECT T.N_RUN_OBJECT_ID FROM FSI_LRM_RUN_PARAM T WHERE T.V_RUN_NAME LIKE 'TEST2131';
- In case of Stress Run, the ID of the Stress Run created (ST_STRESS_MASTER.V_STRESS_ID)
- INFODOM: Enter the name of the INFODOM which is in use.
- FICMISDATE: Enter FIC MIS date to be used for execution.
- RUNEXECDESC: Enter the description for the execution.
- LCRHORIZON: Enter the LCR Horizon (in days) to be used. The default provided is 30.
- USER: Enter the OFSAA application user name.
- EXECUTE: Enter Y/N. Here, Y= Execute Run and N=Create Batch Only.
- Run the lrmBatch.sh file to create or execute a batch. Provide the input parameter as EXECUTE=Y to execute the batch.
- Ensure that the wsdl URL is replaced with correct values in
LRMWSservices.properties file under
$FIC_APP_HOME/icc/lib LRM_WSDL_LOCATION=$PROTOCOL$://$WEBSERVERHOST$:$WEBSERVERPORT$/$CONTEXT$/lrmService?wsdl.