cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed Width Parser - (with no line separator)

PSAmmirata
Employee
Employee

We’re receiving a fixed width record file, but there are no line separator characters. Is it possible to parse this file using SnapLogic?

1 REPLY 1

alchemiz
Contributor III

Hi PSAmmirata,

I took a shot … did some content manipulation using a mapper snaps that will put \n for every total length of the row then contain it in an array, then using the array method map the content has been substr(pos, len) then did a join(‘\n’) convert to binary then input to Fixed parser to output the fields

image

Fixed Width Parser - (with no line separator)_2020_06_06.slp (7.9 KB)
fixed-width.txt (84 Bytes)