GPS and GSM interface for remote TCp server

Below is the GSM sketch

That doesn't look anything like a sketch.

Please help me to resolve the issue.

You haven't told us what the issue is.