Variable Length EBCDIC Packed Decimal

Get help with installation and running here.

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 » Thu Dec 01, 2005 1:43 pm

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: 2222
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by 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.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

Post Reply