Page 1 of 1

Variable Length EBCDIC Packed Decimal

Posted: Thu Dec 01, 2005 1:43 pm
by akula
Hi,

I'm trying to decide whether I can use TextPipe for a conversion project I have. The files are stored in EBCDIC Packed Decimal format and were created with a government mainframe. The catch is that the first 325 bytes are arranged in a fixed format but each of these records is ended with 1 to 10 segment records that are 30 bytes each. The number of segments attached is determained by a Packed Decimal variable in the original 325 bytes.

So it looks something like this
First 325 bytes
-A
-B
-C
-D
1-10 30 Byte Records determained by Say B from above
Repeat

Posted: Thu Dec 01, 2005 5:52 pm
by DataMystic Support
You could, but only by pre-processing the file with a Script filter that pads every record out to the same width.