gsm module (receiving code) i am not able to receive message

#include <SoftwareSerial.h>

SoftwareSerial mySerial(9, 10);
int pinA = 13;
char x;

void setup()
{
mySerial.begin(9600);
Serial.begin(9600);
pinMode(pinA, OUTPUT);
delay(100);
}
void loop()
{
RecieveMessage();
if (mySerial.available()>0)
Serial.write(mySerial.read());

}

void RecieveMessage()
{
mySerial.println("AT+CNMI=2,2,0,0,0");
delay(1000);

}

Please post your code with appropriate formatting using code tags :

As this makes it much more readable

Secondly, what steps have you taken to remedy the situation so far? Have you connected the GSM module up using an RS232 to USB connector and used a terminal program to verify its functionality?