Generally EDIFACT messages have a single Transmission header (UNA, UNB) and multiple sets of UNH-UNZ blocks. However, in your case, you have multiple sets of UNA blocks.
One suggession could be to split the file within BC, using string functions. Later, these split strings can be processed individually.
To split, you could use pub.string:tokenize with delimiter UNA and later concatenate UNA to the start of each of the tokenized string.
i always admire people who are specialized in thier fields i was never able to do that.
i can work on multiple things and a jack of all trades kind of person.
One more thing i can do is work till i drop dead and thats my strength i sleepp like once in two days in the past two weeks…
any ways the point i wanna ask is … is it ok if i talk to u over the phone … not specific with this problem but in general… i am in LA now but my actual office is in dallas… so please give me ur contact details… u can mail me at kalsee@gmail.com…. i would love to get in touch with u and please let me know if it ok then i can give u my contact details…