Project

General

Profile

BankFile » History » Version 10

Soh Keong, 08/16/2012 01:32 PM

1 1 Soh Keong
h1. Bank File
2
3 3 Soh Keong
This is an offline application that will generate total 4 files.
4 1 Soh Keong
# Banamex bank file (text file)
5
# Others bank file (text file)
6
# Banamex bank finance Report (csv file)
7
# Exception Report (csv file)
8
9 3 Soh Keong
h2. Properties file
10 1 Soh Keong
11 9 Soh Keong
+classpath:com/ecosway/batch/job/common/db.config+
12 1 Soh Keong
# *user* - database user
13
# *password* - database password
14
# *dbUrl* - database url (jdbc:db2://{IP}:{port}/{dbName})
15
# *logPath* - logger file path
16
# *financeRptPath* - path where the text file and csv file will generate to
17 3 Soh Keong
18 9 Soh Keong
+classpath:com/ecosway/batch/job/banamex_bank/config.properties+
19 1 Soh Keong
# *bankBranchNumber* - Bank branch number (4 digits)
20
# *bankAccountNumber* - Bank account number (20 digits)
21
22 7 Soh Keong
h3. deployment steps
23 1 Soh Keong
24 10 Soh Keong
# export *ecwybatch* as jar.
25 7 Soh Keong
# change the file ext from *.jar* to *.zip*
26 10 Soh Keong
# unzip *ecwybatch.zip* into /usr/ecosway/batches/src-batch-job/
27 1 Soh Keong
28
h3. run script
29 9 Soh Keong
30
# Before run the script enter bonus run date in {DATE} field
31
# If bonus run date = today, empty the {DATE} field
32
# Below is the command to run the scirpt
33 1 Soh Keong
34 7 Soh Keong
<pre>
35
  cd /usr/ecosway/batches/scripts/
36
  ./src-batch-job.sh
37
</pre> 
38 1 Soh Keong
39 2 Soh Keong
40
h2. SCM
41 6 Soh Keong
 
42 2 Soh Keong
<pre>
43
Host: cwyrnd2-server [IP address:192.168.2.11]
44 8 Soh Keong
Path: d:/source/ecoswayNew
45
Module: ecwybatch
46 2 Soh Keong
Tag: HEAD
47
</pre>