Home: Perl Programming Help: Advanced:
Reading COMP Data in Perl



Santa_Kaur
New User

Nov 5, 2013, 1:05 AM


Views: 12962
Reading COMP Data in Perl

I want to read file, which is downloaded from Mainframe. The file is already converted to ASCII and has COMP and PACKED Decimal Data. I want to read this data and check the value into this Field.

¥ABC2013030208032500

The first 2 bytes have COMP Data and I want to read this data into PERL Script. How can we read this ASCII ( Numeric) data?


Laurent_R
Veteran / Moderator

Nov 5, 2013, 6:29 AM


Views: 12958
Re: [Santa_Kaur] Reading COMP Data in Perl

Sorry about my ignorance, but what is COMP data?


wickedxter
User

Nov 10, 2013, 11:27 AM


Views: 12911
Re: [Santa_Kaur] Reading COMP Data in Perl

anymore info or code on what u have tried?