Hi, I need to read a file from a Cobol application and import the data files. I have the file description but I don't have idea how convert the decimals fields.
01 NAME PIC X(30) --> This I guess is 30 chars 02 CODE PIC 9(5) COMP-6 --> This is five digits with packet decimal format. Comp-3 stores data in a BCD -- binary coded decimal -- format with the sign after the least significant digit. Any help to handle this formats? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Convert-Packet-decimals-comp-3-and-comp-6-tp3498822p3498822.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode