The Original data Structure I have developed. The data structure : 1. Read data 2. Take the data in a ARRAY like ARRAY[1] = "CME20CP6.CallDataRecord.uMTSGSMPLMNCallDataRecord" ARRAY[2] = "{" ARRAY[3] = "sCFChargingOutput" ARRAY[4] = "{" ARRAY[5] = "callIdentificationNumber : '6CBFD7'H" ..... 3. Find the Header =~ "CallDataRecord" put cntr = 1 4. Start The LOOP until "CallDataRecord" put cntr = 2 5. Take the data in a ARRAY between cntr = 1 and cntr = 2 Like this we have to take