NHANES Logistic analysis?

#1
Hi,

I'm working with NHANES data trying to find an association between Blood Pressure (BP) and ever having Chest Pain (CP). I'm using SAS.
BP is the independent variable and continuous. CP is the dependent variable and binary (Yes/No).

The correct regression for this type of analysis is logistic, right? I'm running this code:

proc logistic data = NH.labdata2 descending;
model Difference = CDQ001;
run;
Where Difference --> BP; and CDQ001 --> CP.

Is this the correct code for such analysis?

I realize this is quite simple for most people, but my biostat skills are rusty to say the least.