Read Data of GPS

hi I am new in arduino

I am using an arduino uno with gsm/gps/gprs shield I have a project and I want to send a messages to the gsm shield to read the data from the gps could any one help please ? even when I use the sendSMS code found in IDE I stacks at Message Sender . I placed a SIMCard and a 9v battery but same result

I want to send a messages to the gsm shield to read the data from the gps

You have that ass-backwards. You want to read the GPS data all the time. When a text message arrives, you want to send the latest GPS data (or some of it).

could any one help please ?

There must be someone who has already done this for your unnamed shield. Google yourself!

even when I use the sendSMS code found in IDE I stacks at Message Sender .

I have no clue what code you are running, for what hardware, or what "stacks at Message Sender" means.

I placed a SIMCard and a 9v battery but same result

Put the 9V battery back in the smoke detector. Use a REAL power supply. 9V batteries supply next to no current. SMS shields use a LOT of current.