I don't think AIX has GNU awk, but it may have a nawk which is newer than the basic awk anyway. But vgersh' clever solution might be minimal enough to work in any. It's sometimes hard to tell what an old awk will throw up on though, so nawk gets suggested first.
On linux this is redundant, awk and nawk and gawk will all be the same full-featured GNU awk.
BEGIN {
mon="JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC"
# Create an array where mon[1]=JAN, mon[2]=FEB, etc.
monN=split(mon, monA, "|");
}
{
# NF is the number of fields, $NF is the very last field.
# So split the very last field into an array on the / or ' ' chars.
n=split($NF,a,"[/ ]")
# convert months 1-12 into JAN-DEC by looking them up in monA.
# then print the whole mess in the format below, just like C or shell printf.
$NF=sprintf("%02d-%s-%d",a[2], monA[a[1]+0], a[3])
}
# When the following expression is true, lines are printed.
# 1 is always true, so it prints every line.
1