Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

IMB source code

IMB source code

IMB source code

I am of need of the source code for the IMB (intelligent mail barcode) that converts a 31 digit string to a 65 char string. I am little behind the curve as most companies converted many years ago. I work on a Dec Vax mainframe system. I think I could even convert IBM cobol if that is available. I would really like the complete source code for the usps4bc module.

But in working through the specs, I've coded step 1&2 for converting the 31 digits to binary, and I found the 11-bit crc module but it requires a copybook called xortable.cpy. So 2 questions.

1. is there anyone that has the IMB source code - which would be ideal and preferred...

2. can anyone provide the code included in xortable.cpy.

Thank you so much for any and all assistance.

RE: IMB source code

Debbie, Welcome to Tek-Tips.

You can find this article on the Micro Focus Community. Unfortunately, the attachment is no longer on the article. I will see if we can get the attachment redone for you.

An XOR table is fairly easy to generate. I will try to dig that up too.

Tom Morrison
Micro Focus

RE: IMB source code

I have placed the COBOL code associated with the article at the indicated attachment URL. You will need the password shown below to extract files:


While the example does not use the XOR table (it uses a library subroutine to do that work), the ZIP file also contains an XOR table.

I will remove this when the article linked above has its attachment restored.

Tom Morrison
Micro Focus

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close