Byte conversion Algorithm

Go down

Byte conversion Algorithm

Post  kasthuri on Mon Jan 28, 2013 11:52 am

Hi All,

I am need of developing a conversion algorithm that will convert a 3 byte numeric value to 2 byte alphanumeric/alphabetic/numeric value and viceversa. Any one of you had a similar requirement ?

For eg.

001 - 01
002 - 02
003 - 03
...
...
...
099 - 99
100 - A1
...
270 - AA

etc...

Something of this sort. Can you please help me out. Also Iam not suppossed to hard code these mapped values with the cobol module nor I can store these values in any lookup file.

kasthuri

Posts : 212
Join date : 2013-01-27

View user profile

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum