Variable Length EBCDIC Packed Decimal

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
akula
Posts: 1
Joined: Thu Dec 01, 2005 11:03 am

Variable Length EBCDIC Packed Decimal

Post 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
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post 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.
Post Reply