My question is, how do I obtain this p-value?

It seems to commonly be described as "p for heterogeneity", "test for differences in ORs" or "test for equality of logits" and I think it comes from a wald test or likelihood ratio test. It is referred to in chapter 8 in Hosmer in Lemeshow Applied Logistic Regression but I can not figure it out.

I can tell from my overlapping CI's that my ORs are likely not signficantly different (and thus may justify pooling and the use of binary logistic regression) but it would be nice to be able to report the p-value.

I am currently using SAS (proc logistic with glogit function) but willing to run it in Stata or SPSS a try if anyone knows how.

Thanks in advance!