I'm trying to convert a field in a text file from Packed Decimal (COMP-3 COBOL) to Character in VB 6.
I pull a file (via ftp) from an IBM mainframe that has one field in Packed Decimal, with the other fields being Character.
Right now, I read in a line from the file as a Variant data type and write it directly to another text file, but the formatting of the new file is off. I need to read in the file, convert the one field to Character, then write to another file.
Does anyone know how this can be done? Your help would be greatly appreciated!!!
I pull a file (via ftp) from an IBM mainframe that has one field in Packed Decimal, with the other fields being Character.
Right now, I read in a line from the file as a Variant data type and write it directly to another text file, but the formatting of the new file is off. I need to read in the file, convert the one field to Character, then write to another file.
Does anyone know how this can be done? Your help would be greatly appreciated!!!