Variable Length EBCDIC Packed Decimal

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

Variable Length EBCDIC Packed Decimal

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

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

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


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

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 1 guest