ESIC Operations using Wrapper Scripts
OFSAAI has been enhanced to provide standardized wrapper scripts to perform ESIC batch operations.
Prerequisites
- JAVA_HOME (Required) must point at JAVA bin installation directory.
- Ensure the NAWK command is available under PATH.
Contact system administrator if the NAWK command does not exist.
Example: # yum install nawk
- ES_HOME (Required) must point to the ES Home folder.
- Copy the ES folder and the following jars should be present in ES/lib folder:
- FICServer.jar
- AESCryptor.jar
- aai-client.jar
- Update ES/conf/<Infodom>.ini file and specify the proper values.
- MISDATE=Information Date in format mm-dd-yyyy (For example: MISDATE=01-31-2010)
- USERNAME=OFSAAI Login user (For example: USERNAME=BASELUSER)
Initialize a Batch for Execution
- Navigate to the $ES_HOME > bin folder.
- Run InitializeBatch.sh by passing the following arguments:
- Infodom: Information Domain name.
- Runid: RRF run code / ICC batch name
- BatchType: RRF/ICC
Example: ksh InitializeBatch.sh BASELINFO TESTBATCH ICC
Execute a Batch
- Navigate to the $ES_HOME > bin folder.
- Run ExecuteBatch.sh by passing the following arguments:
- Infodom: Information Domain name.
- Runid: RRF run code / ICC batch name
- Mode:run/restart [optional]
Example: ksh ExecuteBatch.sh BASELINFO TESTBATCH run
Execute a Task
- Navigate to the $ES_HOME > bin folder.
- Run ExecuteTask.sh by passing the following arguments:
- Infodom: Information Domain name.
- Runid: RRF run code / ICC batch name.
- TaskName: Individual Task in a batch.
- TaskPrecedenceCheck: Y/N [optional].
Example: ksh ExecuteTask.sh BASELINFO TESTBATCH Task1 Y
De-initializing a Batch
- Navigate to the $ES_HOME > bin folder.
- Run DeinitializeBatch.sh by passing the following arguments:
- Infodom: Information Domain name.
- Runid: RRF run code / ICC batch name.
Example: ksh DeinitializeBatch.sh BASELINFO TESTBATCH
View Logs for Individual Batch Run
$ES_HOME/log/ESIC_<batchrunid>.log