Project

General

Profile

BankFile » History » Revision 9

Revision 8 (Soh Keong, 08/10/2012 10:05 AM) → Revision 9/10 (Soh Keong, 08/14/2012 02:25 PM)

h1. Bank File 

 This is an offline application that will generate total 4 files. 
 # Banamex bank file (text file) 
 # Others bank file (text file) 
 # Banamex bank finance Report (csv file) 
 # Exception Report (csv file) 

 h2. Properties file 

 +classpath:com/ecosway/batch/job/common/db.config+ +db.config+ 
 # *user* - database user 
 # *password* - database password 
 # *dbUrl* - database url (jdbc:db2://{IP}:{port}/{dbName}) 
 # *logPath* - logger file path 
 # *financeRptPath* - path where the text file and csv file will generate to 

 +classpath:com/ecosway/batch/job/banamex_bank/config.properties+ +properties/config.properties+ 
 # *bankBranchNumber* - Bank branch number (4 digits) 
 # *bankAccountNumber* - Bank account number (20 digits) 

 h3. deployment steps 

 # export *src-batch-job* as jar. 
 # change the file ext from *.jar* to *.zip* 
 # unzip *src-batch-job.zip* into /usr/ecosway/batches/src-batch-job/ 

 h3. run script 

 # Before run the script enter bonus run date in {DATE} field 
 # If bonus run date = today, empty the {DATE} field 
 # Below is the command to run the scirpt 

 <pre> 
   cd /usr/ecosway/batches/scripts/ 
   ./src-batch-job.sh 
 </pre>  


 h2. SCM 
 
 <pre> 
 Host: cwyrnd2-server [IP address:192.168.2.11] 
 Path: d:/source/ecoswayNew 
 Module: ecwybatch 
 Tag: HEAD 
 </pre>