Read file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leeamiin
    New Member
    • Mar 2011
    • 1

    Read file

    Hi,

    i need help with bellow file format, i work for telecom company and i'm the developer,
    what i need help with is to read file with bellow format, as you can see the file has { and , as separation delimiter.

    each line of bellow data is a cell together are one row

    value CallEventRecord ::= moCallRecord :
    { recordType moCallRecord,
    servedIMSI ‘64001260000010 F1’H,
    servedIMEI ‘64007794009780 00’H,
    servedMSISDN ‘91683109710010 F1’H,
    calledNumber ‘816350541 1’H,
    translatedNumbe r ‘A16350541 1’H,
    recordingEntity ‘916831091000F1 ’H,
    mscIncomingTKGP tkgpNumber : 1200,
    mscOutgoingTKGP tkgpNumber : 1,
    location
    {
    locationAreaCod e ‘0001’H,
    cellId ‘0001’H
    },
    basicService teleservice : ‘11’H,
    transparencyInd icator nonTransparent,
    msClassmark ‘200081’H,
    seizureTime ‘0511251826522D 080000’H,
    answerTime ‘0511251826582D 080000’H,
    releaseTime ‘0511251827182D 080000’H,
    callDuration 20,
    radioChanUsed fullRate,
    causeForTerm normalRelease,
    diagnostics manufacturerSpe cificCause: 16,
    callReference 67108908,
    recordExtension s
    {
    { identifier { 1 3 12 2 1006 53 2 5 0 },
    information MOCallRecordExt ensionType :
    { bSCIdOfFirstBSC 2061
    }
    }
    },
    speechVersionUs ed ‘01’H,
    systemType gERAN
    }

    expacted result is,

    moCallRecord,mo CallRecord,6400 1260000010F1,64 00779400978000, etc ..

    i'm using
    1. OS=Windows
    2. Development platform=Visual studio 201o
    3. Code =VB.NET

    i hope you could help or Guide to read the data in row and column style,
    if you need more clarification let me know.

    Thank you.
    Last edited by leeamiin; Mar 23 '11, 04:28 PM. Reason: to make it readable format or correct my english.
Working...