Hello everyone,
I'm trying to parse some data, but I don't really understand how it's
defined. Supposedly this is definitions of the type of data that will
be sent to me in that "field". I've asked the suppliers of the data to
help me understand the layout, etc, so that I can parse it accordingly.
Here's a snip
2|ENTRY_TYPE|%s=%u
2|SERVICE_OPTION|%s=0x%04x
2|NEGOTIATED_SO|%s=0x%04x
2|LAST_MM_SETUP_EVENT|%s=%d
2|CIC_SPAN|%s=%d
2|CIC_SLOT|%s=%d
I believe the first column is the number of characters for the field
whatever the datatype. The second column is the name of the field. The
third is the format of the field.
I believe the third column is in unicode and that %s stands for string.
Note: This data is from the cellular industry so if anyone has
experience with any of the major carriers I'd appreciate any help you
could offer.
Can anyone throw me a line?
If you'd like to see the entire data file please email me off list and
I'll supply it.
Thanks,
Kevin
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.