If you used a distribution other than the normal in GENMOD, then the results will certainly differ from GLM which assumes a normal distribution. Other than that, GENMOD fits the model via maximum likelihood, while GLM uses ordinary least squares. The paramterization of CLASS variables is the same (non-full rank 0,1 dummy coding) by default, but you can select a different parameterization in GENMOD's CLASS statement if you specify appropriate options. If you use a different parameterization, you will get different results.