Project

General

Profile

Actions

BankFile » History » Revision 9

« Previous | Revision 9/10 (diff) | Next »
Soh Keong, 08/14/2012 02:25 PM


Bank File

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

Properties file

classpath:com/ecosway/batch/job/common/db.config
  1. user - database user
  2. password - database password
  3. dbUrl - database url (jdbc:db2://{IP}:{port}/{dbName})
  4. logPath - logger file path
  5. financeRptPath - path where the text file and csv file will generate to
classpath:com/ecosway/batch/job/banamex_bank/config.properties
  1. bankBranchNumber - Bank branch number (4 digits)
  2. bankAccountNumber - Bank account number (20 digits)

deployment steps

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

run script

  1. Before run the script enter bonus run date in {DATE} field
  2. If bonus run date = today, empty the {DATE} field
  3. Below is the command to run the scirpt
  cd /usr/ecosway/batches/scripts/
  ./src-batch-job.sh

SCM

Host: cwyrnd2-server [IP address:192.168.2.11]
Path: d:/source/ecoswayNew
Module: ecwybatch
Tag: HEAD

Updated by Soh Keong over 12 years ago · 9 revisions