I am trying to build a flat file that looks like this:
A21G 97848000000001 Willem
A21F 97848000000001 Rosiers
A21G 97848000000002 Jessica
A21F 97848000000002 Herron
A21G 97848000000003 Dave
A21F 97848000000003 Preston
Each line is a composite of three fields (Code, Employee Num, and Name) The first line is a First Name, the Second is a last name. This example has 2 employee records, 1 for Willem, 1 for Jessica and 1 for Dave. I have the following problem. I need each composite/field on its own line but I also need the records to be separate too… therefore I am having a hard time finding the correct record delimiter to use. If I use a ‘!’ and use the following sample file, it works fine.
A21G 97848000000001 Willem
A21F 97848000000001 Rosiers
!A21G 97848000000002 Jessica
A21F 97848000000002 Herron
!A21G 97848000000004 David
A21F 97848000000004 Preston
My schema has the following settings:
Record Parser: Delimiter
Record Character:!
Composite Character: newline
Subfield: <empty>
Record Identifier: starts at position 0
First Name composite extractor: field 0
Last Name composite extractor: field 1
Any help anyone could give would be GREATLY appreciated!
Thanks,
Jessica
#Integration-Server-and-ESB#webMethods#edi