GPRS SHIELD AND SMS RECEIVING ON MEGA ADK

I need to store the sms received by my gprs on my .SD card. I have been able to send sms with the shield, but I do not know how to read the sms received into a string variable.

Hi, for reading SMS, you can use this command: AT+CMGL=. For example, AT+CMGL=“REC UNREAD”.

thanks for your reply, but my problem is when I send an AT command, and I read my software serial i get only y and nothing else.