How to repeat the same block at Message (Script) Streamserve 5.6.0

Need some help here, i'm using stremserve version 5.6.0. I need to do repeating for the same block in message (script) but unable to get the value. Below my scenario. Please help me.

  1. This is content in "Resources"

RECORD "Header4" 1 CHRSEP "|"
if (StrrBlk(matchPos(1,1) )= "2" )
return 1;
Event "TransAdvise_StreamIN"
2. Message (Script) (to get the value from resources)


  1. Sample Test data i need to generate as per below (.txt):-

1|ADDRESS 1 FOR AA101747|ADDRESS 2 FOR AA101747|ADDRESS 3 FOR AA101747|ADDRESS 4 FOR AA101747|28100|AA101747||R619|29012020|N|N|E|Y||||.000000%||[email protected]|TA|AA101727||
2|[email protected]|TA|AA101747
2|[email protected] |TA|AA101748
2|[email protected]|TA|AA101749
2|[email protected]|TA|AA101750

Refer to this test data, i only can retrieve first block with email address "test1", the remaining email "aminah", "abunafi" and "noralifah" not able to retrieve the value.
How do i do repeating to retrieve the remaining 3 more email with the the same indicator "2".

Sign In or Register to comment.