Understanding how partial files are handled by IBM Sterling B2b Integrator
Swaroopa(swars) 270007G6EY Comments (2) Visits (7478)
In this blog I am posting step by step details with screenshots which helps to understand how partial files are handled by IBM Sterling B2b Integrator i,e what is a real partial file , what it does with partial files and what to expect .
Testing Prerequisites :
I have created the below resources for testing purpose
1. Created a simple SFTP server adapter which uses remote perimeter server.
2. Created a mailbox called /Swaroopa
I initiated a large file transfer to SBI Sftp server adapter and interrupted the transfer by stopping SFTP remote perimeter server and this generates a partial file
If the transfer is deemed not to have completed successfully (e.g network issue) the data remains in the DOCUMENT_NURSERY table and will not be accessible to your BP's
You can see a entry in DOCUMENT_NURSERY table , however you can not see a entry in /swaroopa mailbox and hence no business process will be able to access the payload
3. Depending on the value you have for listStagedDocuments two things can happen with the partial data in the DOCUMENT_NURSERY.
-> if list
Example: When list
In this use case, data is visible to winscp . However you can not see the message in /swaroopa
A partial file exist in DOCUMENT_NURSERY but not /swaroopa
IBM Sterling B2B Integrator extracts these messages although they are being persisted as partial files and we do not have a feature, to avoid extracting partial files, built in B2Bi as of date.
However the good news is , if you have Sterling File gateway installed we do have a way to control it
Login in to Sterling B2B File system-> install/properties and edit file
Code the extensions that you would like SFG to exclude processing .
Reviewed by: Krishna kishore Konda