I used stata to run logistic regression, but stata gives the following information:

" note: DX != 0 predicts success perfectly
DX dropped and 5722 obs not used "

Does anyone know why that is?How do I change the code or model?Thanks.