Variable Length EBCDIC Packed Decimal

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

Variable Length EBCDIC Packed Decimal

Postby akula » Thu Dec 01, 2005 1:43 pm


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
1-10 30 Byte Records determained by Say B from above

User avatar
DataMystic Support
Site Admin
Posts: 2139
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Postby DataMystic Support » Thu Dec 01, 2005 5:52 pm

You could, but only by pre-processing the file with a Script filter that pads every record out to the same width.

Simon Carter, - Insulin dose calculator for Type 1 diabetes - 250,000 free software downloads - send huge email attachments

Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 6 guests