Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: How to capture data length from the record ?

by bh_perl (Monk)
on Jun 24, 2010 at 02:45 UTC ( [id://846215]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    The Ericsson AIN records are stored in an input file in 2048 byte bloc
    +ks. Every block is made of variable length records padded to make a 2
    +048 byte blocks. 
    
    Every record is made of a fixed 180 byte part and records may contain 
    +additional tagged fields making the total length variable.
    
    Total length of the record including fix length and variable length ca
    +n be determined based on field RECORD_LENGTH.
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
        close(DATA);
        close(OUTPUT);
    }
    
  3. or download this
    30 30 32 30 33 34 37 30 30 30 32 30 31 32 36 34
    30 38 32 34 34 20 20 20 20 20 20 20 20 20 20 20
    ...
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://846215]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-26 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found