[FONT=.SF UI Text][FONT=.SFUIText]Dear PQ specialists. [/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]I face situation that I am sure that it's pretty generic but I will try to describe it as I understand it.[/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]I have EDI file (txt format) that contains many lines with the same pattern, e.g.[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]01xxxx1234567y123456789[/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]And I need to break it to 3 columns according to dictionary/translation table :[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]From column - column size - column name[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]1 - 2 - prefix[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]3 - 11 - container[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]14 - 10 - BL[/FONT][/FONT]
[FONT=.SF UI Text]
The result should be as follow:
Prefix - container - BL
01 - xxxx1234 - y123456789
[/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Just to make clear , every line in the EDI file is very long and I have many EDI files I need to translate. [/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Every EDI file has different dictionary table. [/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Any suggestions to automate the process will be much appreciated. [/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Regards. [/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Nir. [/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]I face situation that I am sure that it's pretty generic but I will try to describe it as I understand it.[/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]I have EDI file (txt format) that contains many lines with the same pattern, e.g.[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]01xxxx1234567y123456789[/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]And I need to break it to 3 columns according to dictionary/translation table :[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]From column - column size - column name[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]1 - 2 - prefix[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]3 - 11 - container[/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]14 - 10 - BL[/FONT][/FONT]
[FONT=.SF UI Text]
The result should be as follow:
Prefix - container - BL
01 - xxxx1234 - y123456789
[/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Just to make clear , every line in the EDI file is very long and I have many EDI files I need to translate. [/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Every EDI file has different dictionary table. [/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Any suggestions to automate the process will be much appreciated. [/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Regards. [/FONT][/FONT]
[FONT=.SF UI Text][FONT=.SFUIText]Nir. [/FONT][/FONT]
[FONT=.SF UI Text]
[/FONT]