1099-R tax not determined

I received a1099-R for stock sales. Box 1 and 2a have the same amount. Box2b Tax amount not determined is checked. How do I account for the cost I paid for the stock so the taxable amount is reduced by cost I paid?