Professional Documents
Culture Documents
Night Monitoring and Batch Running Latestv0.2ff
Night Monitoring and Batch Running Latestv0.2ff
NIGHT
MONITORING
TASKS
Contents Page
1|Page
Night Monitoring and Batch Running
1. Monitoring EPS
a. EVENT Monitoring
i. evt
ii. essl
a. When monitoring esstatus keep your eye on queue which are queuing. Especial IS.
b. Check all process are running.
c. For example any spdh or ncr nof is queuing. The nof need restart
2|Page
b. Interface status
3|Page
c. Checking SAF
i. Run /aci_oltp/b24eps/tools/count_saf_main
ii. See result example below. All counts should be less than 20. If not their might be
SAF issues. As first remedy you can restart saf.
/aci_oltp/b24eps/tools
[prod_eps_oltp_62]:-> count_saf_main
2018-11-21T15:56:24.546+03:00 dci.exe(Build:03MAR2017_V02R0.1, PID:16449698) started.
DALCI - Version 2.01.0 SP6
count in SAF_BANKNET;
count in SAF_CUP;
count in SAF_INTF_ETH;
4|Page
count in SAF_INTF_EXTRA3;
count in SAF_MDS;
count in SAF_T24_B;
File: count_saf
- commands processed: 7
- elapsed time: 0.011 seconds
2. Offline
a. Stopping automatic Balance Refresh
If the offline should be before 10:00 PM or 11:00 PM. The automatic refresh should be stopped to do
the refresh manually before 07:30 PM to speed back things.
i. Run crontab –e on 10.1.733 you will see the below and takes you to vi mode.
5|Page
ii. Go to 30 19 * * * /aci_oltp/b24eps/bin/getPBal.ksh line press dd to delete that line
press esc then :wq press enter
iii. Run crontab –l to check if the line removed
iv. Stopping automatic refresh done
v. When the time is passed like when it is 07:35 on the server time you can revert this
change.
vi. Run date command to check the date. If it is passed 07:35 or 19:35
vii. Run crontab –e
viii. Go to the last line press o paste 30 19 * * * /aci_oltp/b24eps/bin/getPBal.ksh press
esc then :wq press enter
ix. Run crontab –l to check if the line add back
x. Thanks
b. Manual Balance refresh (partial)
d. sftp epssftp@10.3.9.54
e. Cd /t24/t24live/bnk/bnk.run/BASE24.BP/
f. If you find a file check the time stamp it should be todays date and time around
20:00.
6|Page
g. If the time is as expected. sftp the file by executing :- get <the_file_name>
h. After the file ftped start partial refresh. From $BIN directory Execute:-
partialpbalrfshfromt24
j. After the file refresh done. Execute:- warmboot_pbal_rfsh to warmboot. This will
take around 2 hours. Check the prfrpt file in $B24OLTP directory. By running: - tail
–f prfrpt you should see “Partial Refresh completes.”---- done
k. Check refresh time stamp is updated with today’s date. System operation > positive
balance
l. Carefully Change t24 primary destination routing to STIP exactly like below
7|Page
n. PUR
o. BAL
8|Page
d. Stop t24 and eth nof file
9|Page
3. Check advice are forwarded from saf data source. If the count is decreasing it is good.
a. Rundalci
b. count in SAF_T24_B;
a. cd $LOGS
b. sftp epssftp@10.3.9.54
c. cd /t24/t24live/tcs_atm_B24/log
d. ls –ltr
e. get atm_monitor.log
f. quit
g. tail –f atm_monitor.log
5. If advice are forwarding and t24 is approving. Carefully change t24 primary destination
routing to t24 exactly like below(Just save, do not warmboot)
a. BAl
10 | P a g e
b. PUR
c. WDL
11 | P a g e
6. Start the remaining icexs t24 processes by executing:- r cbe1_hi93_t24.nof cold && r
cbe1_hi93_t24_2.nof cold && r cbe1_hi93_t24_4.nof cold && r cbe1_eth.nof cold
12 | P a g e
5. Now warmboot the routing changes.
a. cd $LOGS
b. sftp epssftp@10.3.9.54
c. cd /t24/t24live/tcs_atm_B24/log
d. ls –ltr
e. get atm_monitor.log
f. quit
g. tail –f atm_monitor.log
a. cd $LOGS
b. sftp epssftp@10.1.9.46
c. cd /t24/t24live/tcs_atm_B24/log
d. ls –ltr
e. get atm_monitor.log
f. quit
g. tail –f atm_monitor.log
9. Check all advice are forwarded from saf data source for the last time. If it is zero it is good.
a. Rundalci
b. count in SAF_T24_B;
Done. Thanks
13 | P a g e
4. Automatic Balance refresh
5. ISSUER
14 | P a g e
/icmmfs/ACI_CMM/ACI01/ISS/CBEPD/files/Card_files
[ESSISSCBEPD]#
There You will find 2 Migration_files For the New CARD Request & For Replacement Request like the
below 2 files:
18321305112018_Migration_File_REPL.txt & 18321305112018_Migration_File.txt
These 2 files are as an Example for the Date 05112018 thinking that the above activities are done on
05112018
4. Still on the Card_files Directory those 2 files needs to be merged & a new file name will be given
by:
[ESSISSCBEPD]#cat 18321305112018_Migration_File_REPL.txt 18321305112018_Migration_File.txt
> 05112018_Migration_File.txt
Now the 2 files are Merged to a Single File Which is 05112018_Migration_File.txt
5. Still on the Card_files Directory duplicate records will be checked if there is any & a new file name
will be given for the final file by:
awk '!seen[$0]++' 05112018_Migration_File.txt > Final_05112018_Migration_File.txt
Now the Final Migration File (Final_05112018_Migration_File.txt) is Free from Duplicate Issue.
6. Now copy This File (Final_05112018_Migration_File.txt) to app_files Directory by:
[cd ESSISSCBEPD]#pwd
/icmmfs/ACI_CMM/ACI01/ISS/CBEPD/files/Card_files
[ESSISSCBEPD]#cp Final_05112018_Migration_File.txt $RUNDATA/app_files
7. Go to app_files directory - Rename the File (Final_05112018_Migration_File.txt) to
Migration_File.txt :
[ESSISSCBEPD]#pwd
/icmmfs/ACI_CMM/ACI01/ISS/CBEPD/files/Card_files
[ESSISSCBEPD]#cd $RUNDATA/app_files
[ESSISSCBEPD]#pwd
icmmfs/ACI_CMM/ACI01/ISS/CBEPD/files/app_files
[ESSISSCBEPD]#cp Final_05112018_Migration_File.txt Migration_File.txt
[ESSISSCBEPD]#ls -ltr Migration_File.txt
-rw-r--r-- 1 icmm staff 13245286 Nov 19 19:31 Migration_File.txt
8. submit g23s001b
This job Might Fail when it gets invalid record after invalid record count of 500 so, when it fails you
just need to resubmit the job (submit g23s001b)
Finally, the job will get completed running with RC 0 (Response code)
15 | P a g e
5.2 Generating transaction & balance report of all prepaid cards daily
For generating transaction & balance report of all prepaid cards daily before starting the nightly
issuer batch.
To have the same starting time, please start it @12:00 local time
1. Balance
2. Settled (Unstatemented Trxns) Trxns
3. Outstanding Authorisations Trxns
4. Total sum of current balance, Total sum of Outstanding Authorisations amount & Total sum of
available balance group by card type
Note: The Outstanding Authorisations Trxns report is for the system date But, for the Settled
(Unstatemented Trxns) Trxn report the date to be given will be system date -1
Script *******************************
User: ISSCBEPD
Password: ISSCBEPD
select tgen008.ACT_RFE_NBR_TXT,substr(raw_to_char(tgen818.pan_txt),1,16),
TGEN010.MNL_STS_CDE,TGEN010.STT_DTE,TGEN010.END_DTE,
tgen008.crt_bal_amt,tgen050.OSG_ATH_AMT,tgen050.AVE_BAL_AMT from tgen818 right join
tgen016 on substr(tgen818.pan_tkn_sky,1,16) = substr(tgen016.pan_txt,1,16) right join tgen008 on
substr(tgen016.act_idn_sky,1,16) = substr(tgen008.act_idn_sky,1,16) right join tgen050 on
substr(tgen016.act_idn_sky,1,16) = substr(tgen050.act_idn_sky,1,16) RIGHT JOIN TGEN010 ON
substr(TGEN016.PLA_IDN_SKY,1,16) = substr(TGEN010.PLA_IDN_SKY,1,16) where
substr(raw_to_char(tgen818.pan_txt),1,6) like ('419715') or
substr(raw_to_char(tgen818.pan_txt),1,6) like ('475194') or
substr(raw_to_char(tgen818.pan_txt),1,6) like ('471297') or
substr(raw_to_char(tgen818.pan_txt),1,6) like ('227383') or
substr(raw_to_char(tgen818.pan_txt),1,6) like ('925511') or
substr(raw_to_char(tgen818.pan_txt),1,6) like ('970907') ORDER BY
substr(raw_to_char(tgen818.pan_txt),1,16) ;
16 | P a g e
SELECT tgen008.ACT_RFE_NBR_TXT,raw_to_char(tgen818.PAN_TXT),tgen008.ACT_TYP_IDN_CDE,
TGEN010.MNL_STS_CDE,TGEN010.STT_DTE,TGEN010.END_DTE,tgen138.MSG_SRC_CDE,tgen138.N
WK_TYP_CDE,tgen138.RQT_TYP_CDE,tgen138.MSG_TYP_CDE,tgen138.AQR_ITN_IDN_NBR,tgen138.
FWD_ITN_IDN_NBR,tgen138.STA_NBR,tgen138.RTV_RFE_NBR_TXT,tgen138.GMT_DTE_TME_TXT,tg
en138.ATH_DTE,tgen138.TXN_PFE_TXN_CDE,tgen138.MCC_TXT,tgen138.BLG_CRY_CDE,tgen138.OG
L_BLG_AMT,tgen138.BLG_AMT,tgen138.TXN_CRY_CDE,tgen138.OGL_TXN_AMT,tgen138.TXN_AMT,
tgen138.APR_CDE_TXT,tgen138.AQR_CNY_CDE_TXT,tgen138.PSV_DTA_CDE_TXT,tgen138.ATN_CDE
_TXT,tgen138.PCS_CDE_NBR,tgen138.ATH_STS_CDE,tgen138.CRD_ACR_TML_TXT,tgen138.CRD_ACR
_IDN_TXT,tgen138.TXN_DES_TXT,tgen138.DEL_STS_IND,tgen138.ATH_TME,tgen138.CHP_BSE_ATH_
IND,tgen138.PMY_CDR_VERMHD_CDE,tgen138.ITN_IDN_CDE,tgen138.OGL_ATH_FEE_AMT,tgen138
.ATH_FEE_AMT,tgen138.TXN_DMN_CDE,tgen138.PLA_AVN_IND,tgen138.FST_LOD_IND,tgen138.RQ
T_TXN_AMT,tgen138.RQT_BLG_AMT,tgen138.XAC_ACT_NBR_TXT,tgen138.MCH_ATH_AMT,tgen138
.ATH_TYP_CDE,tgen138.FDT_IND,tgen138.DEL_DTE,tgen138.ICL_ATH_NBR,tgen138.APR_ICL_ATH_N
BR,tgen138.ICL_TXN_AMT,tgen138.ICL_BLG_AMT,tgen138.ICL_FEE_AMT,tgen138.LST_UPD_DTE,tge
n138.LST_UPD_TME,tgen138.LST_UPD_UID,tgen138.LST_UPD_NBR,tgen138.P_ITN_ALS_NBR,tgen13
8.P_PTT_NBR
FROM TGEN138
IN (SELECT substr(tgen008.act_idn_sky,1,16)
Select
substr(raw_to_char(tgen818.pan_txt),1,6),SUM(tgen008.crt_bal_amt),SUM(tgen050.OSG_ATH_AMT
),SUM(tgen050.AVE_BAL_AMT) from tgen818 right join tgen016 on
substr(tgen818.pan_tkn_sky,1,16) = substr(tgen016.pan_txt,1,16) right join tgen008 on
substr(tgen016.act_idn_sky,1,16) = substr(tgen008.act_idn_sky,1,16) right join tgen050 on
substr(tgen016.act_idn_sky,1,16) = substr(tgen050.act_idn_sky,1,16) RIGHT JOIN TGEN010 ON
substr(TGEN016.PLA_IDN_SKY,1,16) = substr(TGEN010.PLA_IDN_SKY,1,16) where
substr(raw_to_char(tgen818.pan_txt),1,6) like ('419715') or
substr(raw_to_char(tgen818.pan_txt),1,6) like ('475194') or
substr(raw_to_char(tgen818.pan_txt),1,6) like ('471297') or
substr(raw_to_char(tgen818.pan_txt),1,6) like ('227383') or
17 | P a g e
substr(raw_to_char(tgen818.pan_txt),1,6) like ('925511') or
substr(raw_to_char(tgen818.pan_txt),1,6) like ('970907') GROUP BY
substr(raw_to_char(tgen818.pan_txt),1,6) ;
Goto $BIN
#Cd $BIN
Run the script called
# sendExtract.ksh
Make sure the script picks the correct file. It should pick only that day of TLF and
PTLF(one tx[1,2,3])and one px[1,2,3] if not the batch will fail @IXB24EPS
18 | P a g e
Goto /app_files
#Cd /icmmfs/ACI_CMM/ACI01/ICG/CBEPD/files/app_files/
check the time stamp for the input file ixb24e is changed to the current time and date
7. BATCH RUNNING
Please use a remote server 10.1.64.248
Password: Pa$$w0rd
19 | P a g e
o
Go to /icmmfs/ACI_CMM/ACI01/ACQ/CBEPD/files/cosbatch/utility_input_dir
o #cd
/icmmfs/ACI_CMM/ACI01/ACQ/CBEPD/files/cosbatch/utility_input_dir
o Ls –ltr
# batch_run.ksh PART_ONE.csv 1
REMARK : (please take care when you choose the option 1 and zero it creates DB
inconsistence )
o batch_run. PART_ONE.csv 1 for fresh start
o batch_run.ksh PART_ONE.csv.csv 0 to resume the batch run if the
batch run is interrupted due to different reason(like if batch failed with
some error , power problem )
20 | P a g e
Then wait till ACQPART ONE is finished (the last job from ACQ PART ONE G00S572B ) it
should end with zero
OR
o Just Do regswitch to switch to interchange region
o Run the command
o Regswitch
o Chose 2 for ICG region
again Make sure the transaction extract(ixb24e ) is up-to-date (check the date &size) to avoid
duplicate file processing
Cd $RUNDATA/app_files
Ls –ltr ixb24e
o Then Go to /icmmfs/ACI_CMM/ACI01/ICG/CBEPD/files/cosbatch/utility_input_dir
o Cd /icmmfs/ACI_CMM/ACI01/ICG/CBEPD/files/cosbatch/utility_input_dir
o Ls –ltr
21 | P a g e
REMARK : (please take care when you choose the option 1 and zero it creates DB
inconsistence )
o batch_run.ksh CBE_ICG_34112.csv 1 for fresh start
o batch_run.ksh CBE_ICG_34112.csv 0 to resume the batch run if
the batch run is interrupted due to different reason(like if batch failed
with some error , power problem )
OR
o Just Do regswitch to switch to ACQuirer region
o Run the command
o Regswitch
o Chose 1 for ACQ region
o Goto /icmmfs/ACI_CMM/ACI01/ACQ/CBEPD/files/cosbatch/utility_input_dir
batch_run.ksh PART_TWO.csv 1
22 | P a g e
7.4. Issuer Batch
Go to issuer region and submit the nightly batch
cd $RUNDATA/cosbatch /utility_input_dir
ls
ACI_ISSUER_BASE24CLASSIC.csv ACI_ISSUER_HOUSEKEEPING.csv
ESS_UTL_1_STREAMED_SUITE.csv
execute the below command for fresh start of the batch use option 1 for re-run replace the 1 with a
0
batch_run.ksh ESS_UTL_10_STREAMED_SUITE.csv 1
23 | P a g e
-rwxr-xr-x 1 icmm staff 2269 Jul 11 15:13 batch.ctl.110718
-rw-r--r-- 1 icmm staff 140 Jul 25 13:27 batch.txt
-rwxr-xr-x 1 icmm staff 340 Sep 21 09:48 2nd_STM002_batch.ctl.posting
-rwxr-xr-x 1 icmm staff 914 Sep 21 10:16 3rd_STM005_batch.ctl
-rwxr-xr-x 1 icmm staff 842 Sep 21 10:17 sep_21_batch.ctl
-rwxr-xr-x 1 icmm staff 205 Sep 21 10:20 1st_STM015_batch.ctl.pre_posting
-rwxr-xr-x 1 icmm staff 2046 Sep 21 13:29 4th_STM027_batch.ctl
-rwxr-xr-x 1 icmm staff 5363 Sep 21 14:41 5th_STM089_batch.ctl
-rwxr-xr-x 1 icmm staff 843 Sep 27 19:30 STM029_batch.ctl_andu
-rwxrwxrwx 1 icmm staff 7494 Nov 07 10:55 batch.ctl
cp 1st_STM015_batch.ctl.pre_posting batch.ctl
cd /icmmfs/ACI_CMM/ACI01/ISS/CBEPD/files/cosbatch/utility_input_dir and
continue the nightly job with 0
batch_run.ksh ESS_UTL_10_STREAMED_SUITE.csv 0
after this is done with 5min max job STM00201 will start running so do the same thing for
STM002XX jobs as well
1. STOP THE BATCH PROCESSING WITH (CTRL+C) TWICE
2. ON THE OPENED 10 SESSIONS submit the following 10 Jobs on the 10 sessions, which means
on the 1st session (submit STM00201) , on the 2nd session (submit STM00202) , on the 3rd session
(submit STM00203) & the like...
.
STM00201
STM00202
STM00203
STM00204
STM00205
STM00206
STM00207
STM00208
STM00209
STM00210
WHEN all 10 JOBS finish successfully with RC of 10 go to $RUNDATA/app_files
ls -ltr *batch*
-rwxr-xr-x 1 icmm staff 2269 Jul 11 15:13 batch.ctl.110718
-rw-r--r-- 1 icmm staff 140 Jul 25 13:27 batch.txt
-rwxr-xr-x 1 icmm staff 340 Sep 21 09:48 2nd_STM002_batch.ctl.posting
-rwxr-xr-x 1 icmm staff 914 Sep 21 10:16 3rd_STM005_batch.ctl
-rwxr-xr-x 1 icmm staff 842 Sep 21 10:17 sep_21_batch.ctl
-rwxr-xr-x 1 icmm staff 205 Sep 21 10:20 1st_STM015_batch.ctl.pre_posting
-rwxr-xr-x 1 icmm staff 2046 Sep 21 13:29 4th_STM027_batch.ctl
-rwxr-xr-x 1 icmm staff 5363 Sep 21 14:41 5th_STM089_batch.ctl
-rwxr-xr-x 1 icmm staff 843 Sep 27 19:30 STM029_batch.ctl_andu
-rwxrwxrwx 1 icmm staff 7494 Nov 07 10:55 batch.ctl
cp 2nd_STM002_batch.ctl.posting batch.ctl
24 | P a g e
8.4 Resuming Issuer nightly batch
After ACQ PART TWO has finished EXTRACT the Payment order
o In Acquirer Region
o Goto $RUNDATA/app_files
o Ls –ltr *sh
You will get the below result and run the two script POsplitter.sh and POsplitterSCH.sh respectively.
9. COMMISSION
Uploading commission using Windows server
o Login :10.1.64.249 server
user : administrator
pass : Pa$$w0rd
copy the ixgo_0000001 file to E:\Transaction Extract on 10.1.64.249
-> Go to E:\
25 | P a g e
-> run Transaction_extrn_n_fee_calculation_UI
Application and give the ixgo file that you copied to E:\Transaction Extract as input
-> there will be several files generated in the E:\Transaction Extract folder, rename
g210tpeo_00date to a format like this transaction_fee_month_day
LOGIN to CMM server on winscp using your credential
Then
goto /commissionfs
-> copy
E:\Transaction Extract file\transaction_fee_month_day
->To
/commissionfs
open putty
login using your credentials
o cd /commissionfs
o ls –ltr
check the latest file you coped before is there or not
sftp epssftp@10.3.9.54
cd /t24/t24live/bnk/bnk.run/BASE24.POS.TXN
run the put command for the copied commission file transaction_fee_month_day
o put transaction_fee_month_day
26 | P a g e
2.2. Login to 10.1.7.70/170
2.3. Use your credential
Source directory:-
2.3.1. go to /icmmfs/ACI_CMM/ACI01/ICG/CBEPD/files/extractbkp directory
2.3.2.Sort it
2.3.3.Example:- tx217112018213003
2.4. Destination directory
2.4.1.On 249 windows server
2.4.1.1. C:\reconcilation\TLF\DECEMBER
2.4.1.2. Create new folder with today’s date eg. 28122018
2.4.1.3. Paste on C:\reconcilation\TLF\ DECEMBER \28122018directory
2.4.1.4. After coping is done rename it like below
2.4.1.5. Example:- TLF 171120182.txt
3. Run extracting java program
3.1. Go to C:\reconcilation\REVERSAL.v.8 directory
3.2. Run Reversal.jar
3.2.1.Browse the copied file
3.2.2.Click okay
4. Done. Thanks
11.Monitoring Report
Reports
IP User Password
10.1.7.33 ib24 EPSprod33!
10.1.7.197 ib24 epsDb197!
10.1.7.187 ib24 esweB24!
10.1.7.170 icm ICMMpass!33
m
3. TLP and PTLF status
4. Whether Acquirer and Issuer batches successfully processed or not
5. Whether card file prepared for personalization or not
27 | P a g e
6. Whether commission processed or not? If failed reason should be specified
7. Base24 offline/online time if happened
8. Payment Order extract
9. ATM transaction Report (must be sent for Managements and Business team )
10. TLF Extraction for Financial Report
11. Any other valuable information
12.Timing
Task\Time Time
Monitoring Eps The whole monitoring time
Offline Variable
Prepaid cards report Starting @12:00 local
Card request Processing starting 01:00
Automatic Balance Refresh Starts @1:30 finish around 4:00
ACQ ONE You can start @8:00
INTERCHANGE Starts around 8:15 when TLF and PTLF fully extracted
ACQ TWO Start when Interchange is on job ixdbaseu
ISSUER Start when Interchange is on job ixdbaseu
COMMISSION Start when Interchange is on job ixdbaseu
TLF Extraction for FR start after staring Interchange
ACQ Transaction Report start after ACQ two completed
Monitoring Report When you finish everything.
Having parentless processes will slow down the CMM batch so you can check if there is any & kill by
process id.
Eg
28 | P a g e
[ESSISSCBEPD]#
AND
cd $ESS_TOOLS_DIR
run this script
ESS_UTL_TPE_PROCESS_REPORT.ksh
If it shows you any parentless process kill by that ID
Eg.
[ESSISSCBEPD]#ESS_UTL_TPE_PROCESS_REPORT.ksh
A Unikix TPE Process Report is being created, please wait a few moments...
29 | P a g e
If there is only submitted date & completed date with submitted time & completed
time empty, then that is an indication that the job might have failed in that case
communicate the person responsible
30 | P a g e
cd $RUNDATD/app_files
ls -ltr ixmi*
[ESSICGCBEPD]#cp ixmi.mc.empty.org ixmi.mc
[ESSICGCBEPD]#cp ixmi.mc.empty.orig ixmi.predrej.mc
cd $RUNDATD/app_files
ls -ltr ixvi*
cp ixvi.empty ixvi
cd $RUNDATA/app_files
ls –ltr *ixgr*
rm ixgr_000001
touch ixgr_000001
15.1.1 Issuer batch failure at stream able job STM015xx jobs (STM01501,
STM01502… etc.)
Example: if Job STM01501 has failed, open WinSCP on Issuer app_files directory sort by date &
refresh to get the latest files, also check the date the file was generated on to make sure that you
are working with the right file.
31 | P a g e
The directory is /icmmfs/ACI_CMM/ACI01/ISS/CBEPD/files/app_files
you will find 2 files named <ggnsipt.g00b015b.S001> & <gixsopt.S001> Transfer them to your PC
o The .S001 represent the stream number so if STM01502 failed then the files
would have an extension of .S002 …etc.
> Go to the last line(record) of the File & scroll up slowly until you see a number that looks like a T24
account number, it is 13-digit number (please confirm the digits)
The account number is found around the info that looks like the sample information provided below:
The T24 account number may be divided b/n 2 lines
> Now Open the gixsopt.S001 file, find this Account Number which was taken from the
ggnsipt.g00b015b.S001 file
> in the gixsopt.S001 file A single record starts with CBE1 followed by a Card Number (CBE1
4583006155081619...) up to the starting point of the next CBE1
> after finding the account number in this file Scroll down you will see an invalid record starts
with CBE1 9999999999999999999......
> There might be other similar records following this invalid record. You need to remove those
records until you get the next correct record like (CBE1 4583006155081619...)
> Save the file (gixsopt.S001) & backup the file that already exists in app_files with the current date
Orig_date_gixsopt.S001 , then Transfer the updated file back to app_files directory with the WINSCP.
> If the failure reason is not the above (invalid record which starts with CBE1
9999999999999999999......) then what you need to do is first you will get the final record from
ggnsipt.g00b015b.S001 file then you will search this record using the account number as above on
the next file gixsopt.S001 when you get this record please remove the next record (A single
record starts with CBE1 followed by a Card Number (CBE1 4583006155081619...) up to the
starting point of the next CBE1) & save your file. Backup the file that already exists in app_files
with the current date Orig_date_gixsopt.S001 , then Transfer the updated file back to app_files
directory with the WINSCP.
32 | P a g e
> Now you can resubmit the Job (submit STM01501).
NOTE: - First you should only resubmit the job as it might have failed due to env’t
problems then go to sysout directory and check if the record count is changing
after resubmission (steps on how to check record count is described below), only
if the record count remains the same should the below action be taken.
Example: if Job STM00201 has failed, open WinSCP on Issuer app_files directory sort by date &
refresh to get the latest files, also check the date the file was generated on to make sure that you
are working with the right file.
In this case you will be working with a single file gtmpipt.S001_000*** the file is incremental & will
be generated for each stream of STM002xx jobs gtmpipt.S002_000***, gtmpipt.S003_000*** … etc.
This file has a header of length 728 and each record has a length of 1715 so the idea is to get the
record count that is causing the job to fail from sysout and do a calculation
But first we have to get the record count from sysout directory.
ls –ltr
More STM00201_S0030_GFMTLOG_180627_161432
Then take a look at the record count field b/c it will be used in finding the record that will be
removed.
(Result of record count – 1) * 1874 + 751…. Copy the result from the calculator
33 | P a g e
Then open the file in HXD (Hex Editor)
do Ctrl + g click on the dec option then paste the result from the calculator & press enter, the cursor
will move to a position similar to the below image then remove that record from that position up to
the next record starting (..YYYY (each record starts with ..YYYY and the Julian date is followed e.g. “
..2018295 “)
> Save the file (gtmpipt.S001_000***) & backup the file that already exists in app_files with the
current date Orig_date_ gtmpipt.S001_000***, then Transfer the updated file back to app_files
directory using WinSCP.
------------------------------------------------------------------------------------------------
15.2 When there is a plastic bulk issue request & if job G00S068B is failed, inorder to
resume the batch we need to replace mmppdact_000*** file found
@/icmmfs/ACI_CMM/ACI01/ISS/CBEPD/files/app_files with an empty file after taking a backup of
the original file like orig_ ddmm_mmppdact_000***. There are many empty files
@/icmmfs/ACI_CMM/ACI01/ISS/CBEPD/files/app_files directory & when you replace make the
new file name with the next number like if the one with bulk issue request in it is
mmppdact_000407 what you will do is backup this file & replace it with the empty file & named it
like mmppdact_000408
-------------------------------------------------------------------------------------
15.3 Every time please do the following while you are running the nightly issuer batch.
After you have started the batch, there is a Job named G00S009B around one job before the 2nd
stream & 3 jobs after the 1st stream
(…
34 | P a g e
…….)
After this job has completed, it will generate an output file named gtgr009_00**** @app_files
directory (/icmmfs/ACI_CMM/ACI01/ISS/CBEPD/files/app_files )
Please check the file & if it has a size you need to replace it with an empty file (this empty file will be
named with the next sequential number) But, if the generated file is already empty you will not do
the file replacement.
let the file with size is gtgr009_001390 so, the empty file will be gtgr009_001391
35 | P a g e