GPS and GSM interface

I m working on GPS Locator

I m using GPS and GSM in this project that sends lattitude and longitude value to the mobile via text msg.....

My interfacing work is completed..

My code:-

#include <SoftwareSerial.h>
#include "TinyGPS.h"
char phone_no[]="09870820167";
long lat,lon; // create variable for latitude and longitude object
SoftwareSerial gpsSerial(2, 3);
TinyGPS gps; // create gps object
void setup()
{
Serial.begin(9600); // connect serial
gpsSerial.begin(9600); // connect gps sensor
delay(20000);
Serial.println("AT+CMGF=1");
delay(20000);
}

void loop()
{
Serial.print("AT+CMGS="");
Serial.print("098XXXXXXXXX");
Serial.println(""");
while(Serial.read()!='>');
{
while(gpsSerial.available()){ // check for gps data
if(gps.encode(gpsSerial.read())){ // encode gps data
gps.get_position(&lat,&lon); // get latitude and longitude
Serial.print(lat);Serial.print(",");
Serial.print(lon);
delay(2000);
Serial.write(0x1A); // sends ctrl+z end of message
Serial.write(0x0D); // Carriage Return in Hex
Serial.write(0x0A); // Line feed in Hex

//The 0D0A pair of characters is the signal for the end of a line and beginning of another.
delay(50000);
}
}
}
}

O/P:-(Sends sms to the mobile)

AT+CMGS="098XXXXXXXXX"
AT+CMGS="098XXXXXXXXX"
AT+CMGS="098XXXXXXXXX"
AT+CMGS="098XXXXXXXXX"
AT+CMGS="098XXXXXXXXX"
AT+CMGS="098XXXXXXXXX"
19203318,72843402

i dont want this AT command in sms.....

pls tell me the changes in code..

OK, what is the received message like? It should not contain the AT command for sure.