you can use this awk script..
where MM is variable to which you pass your month name...
awk -v MM="Feb" 'BEGIN{
x="Jan 01 Feb 02 Mar 03 Apr 04 May 05 Jun 06 Jul 07 Aug 08 Sep 09 Oct 10 Nov 11 Dec 12"
split(x,data)
for(i = 1 ; i < 25 ; i += 2)
{
mon[data]=data[i+1]
}
{printf mon[MM]}
}'