Support #13714

[SCP ID :##6845##] : FIle not sent from Batch to SFTP server (LUTH)

Added by Zahir Abd Latif 11 months ago. Updated about 1 month ago.

Status:System Integration TestStart date:November 06, 2023
Priority:NormalDue date:
Assignee:Binti Marobi Athirah Umairah% Done:

90%

Category:BugSpent time:-
Target version:-

Description

Hi,
Kindly attend below request:-

File from ICBS not sent to SFTP server.

Company Name : LUTH
File Name : THINBBSNAMYKYYYYMMDD.txt (THPCTBSNAMYKL20230822.txt)

luthTest01.JPG (43.7 KB) Nurul Hasnieza Bt Mohd Zamri, November 20, 2023 14:40

luthTest02.JPG (172 KB) Nurul Hasnieza Bt Mohd Zamri, November 20, 2023 14:40

luthTest03.JPG (34.8 KB) Nurul Hasnieza Bt Mohd Zamri, November 20, 2023 14:40

History

#1 Updated by Binti Marobi Athirah Umairah 11 months ago

  • Category set to Bug
  • Assignee changed from Nurul Athira Abdul Rahim to Nurul Hasnieza Bt Mohd Zamri

#2 Updated by Najmi Pasarudin 11 months ago

  • Status changed from New - Begin Life Cycle to Development / Work In Progress
  • % Done changed from 0 to 90

Salam Hasnieza,
There is no need to patch for this issue:

Issue:
Batch program need to push 2 files(THINBBSNAMYKYYYYMMDD.txt and THPCTBSNAMYKL20230822.txt) to SFTP server but only THPCTBSNAMYKL20230822.txt is sent.

Finding:
In setting.properties, there is ignore file name list that will ignore file name containing IN. Since THINBBSNAMYKYYYYMMDD.txt has the word IN, Batch program ignore this file.

Solution:
  1. Access sacda951/batch/BSN/BatchJobsSIT/setting.properties
  2. Find the parameter b2b.push.ignore.list. The ignore list is to avoid conflicting with another B2B program.
  3. Should see something similar to b2b.push.ignore.list=IN;GETBALANCE;VERIFICATION;PAYMENT;BSNMCHSP
  4. Change to b2b.push.ignore.list=IN*;GETBALANCE;VERIFICATION;PAYMENT;BSNMCHSP
  5. The value IN* will ignore file starting with IN instead of containing IN
Test steps:
  1. Prepare B2B setup. Make to fill in all outgoing directory and create the folder. Sample in VOC company.
  2. Access Batch server at the outgoing directory
  3. Prepare text files named THINBBSNAMYKYYYYMMDD.txt and THPCTBSNAMYKL20230822.txt
  4. Execute the script SIT B2BProgram.sh (refer crontab -l)
  5. Expected result, both files sent to SFTP server

#3 Updated by Nurul Hasnieza Bt Mohd Zamri 10 months ago

  • File luthTest01.JPG added
  • File luthTest02.JPG added
  • File luthTest03.JPG added
  • Status changed from Development / Work In Progress to System Integration Test
  • Assignee changed from Nurul Hasnieza Bt Mohd Zamri to Binti Marobi Athirah Umairah

Salam Umai,

Attached is the test result.

Tested and passed.

#4 Updated by Nurul Athira Abdul Rahim 2 months ago

  • Status changed from System Integration Test to Development / Work In Progress
  • Assignee changed from Binti Marobi Athirah Umairah to Najmi Pasarudin

Tested but failed in sit due to :
Cron job hang upon change the setting

#5 Updated by Najmi Pasarudin about 1 month ago

  • Status changed from Development / Work In Progress to Pending SIT Deployment

#6 Updated by Najmi Pasarudin about 1 month ago

  • Status changed from Pending SIT Deployment to Finished Development

#7 Updated by Najmi Pasarudin about 1 month ago

  • Status changed from Finished Development to Development / Work In Progress

#8 Updated by Najmi Pasarudin about 1 month ago

  • Status changed from Development / Work In Progress to System Integration Test
  • Assignee changed from Najmi Pasarudin to Binti Marobi Athirah Umairah

Salam Umairah,
I have updated SIT Batch program. Please request Asrul to test.
Please take note SIT cronjob is not working. Asrul need to execute the batch program manually.

Also available in: Atom PDF