How to split and convert file to Hex?
Posted: Thu Jul 23, 2009 6:12 am
Hello, I'm checking to see if Syncsort can handle this issue?
The data in the input file is wrapping (binary format) and has the double quote as CRLF. Is there an option/command in Syncsort to
split the data into single line when the double quote is encountered and convert the data to hex?
Input file: lrecl=112, FM=VB, binary data, record in file is wrapping and within double quote
Output file: lrecl=112, FM=VB, hex, one record per line
Thanks.
The data in the input file is wrapping (binary format) and has the double quote as CRLF. Is there an option/command in Syncsort to
split the data into single line when the double quote is encountered and convert the data to hex?
Input file: lrecl=112, FM=VB, binary data, record in file is wrapping and within double quote
Output file: lrecl=112, FM=VB, hex, one record per line
Thanks.
input file - in binary
1st record
000001 î à î -` î
1st record
000001 î à î -` î
input file - when set hex on
1st record:
000001 î à î
20333323333333333332002100020000020530000000010120021000200006405
21002300905122215232DA200103000074264010000952012DA20020300005126
1st record:
000001 î à î
20333323333333333332002100020000020530000000010120021000200006405
21002300905122215232DA200103000074264010000952012DA20020300005126