03-03-2005 05:43 AM
Solved! Go to Solution.
03-08-2005 06:07 AM
The easiest option is to see if the creator of the file (I assume it is coming from an e3000) can do the conversion either within the extract program, if it is COBOL & they have the source code, or use a third party utility like SuprTool from Robelle (www.robelle.com). Vendors offering migration services should have extract tools too. There is a tutorial on exporting data at http://www.robelle.com/library/tutorials/pdfs/stex
If you can program, and have access to COBOL, either on an e3000 or PC, you can write a simple COBOL program to do the conversion.
describes a C++ library of functions that includes a function called char*StringFromPacked(char*Field, int Length) that converts packed to a string. You can then convert the string to a number. It should be possible to call the function from other languages like Visual Basic.
You can also right your own routine to do the conversion but you will have to understand the format and it would require testing. It's the least attractive option. You might be able to find some code samples with an Internet search.
03-08-2005 07:09 AM