Sorry, here are the issues the log is telling me about:
18279 libname enroll "X:\SPH\Restricted\Winthrop\Current Projects\Biobank OCTRI\SAS";
NOTE: Libref ENROLL was successfully assigned as follows:
Engine: V9
Physical Name: X:\SPH\Restricted\Winthrop\Current Projects\Biobank OCTRI\SAS
18280
NOTE: No observations in data set WORK.PULMCON.
NOTE: PROCEDURE PRINT used (Total process time):
real time 4:09.05
cpu time 4.10 seconds
18281 data pulmcon (keep=id enrolldate birthdate sex hispanic race currentinsurance smoke height
18281! heightmeas currentweight currentweightmeas immuneany_enr copd bronch asthma cf othername
18281! inhaleenroll_enr pftdate1 fvcraw fvcdate1 fev1raw1 fev1date1 ratiodate1);
18282 set redcap;
18283 where newntm = 'pulmonary control';
ERROR: WHERE clause operator requires compatible variables.
18284 run;
WARNING: The variable enrolldate in the DROP, KEEP, or RENAME list has never been referenced.
WARNING: The variable birhdate in the DROP, KEEP, or RENAME list has never been referenced.
WARNING: The variable hispanic in the DROP, KEEP, or RENAME list has never been referenced.
WARNING: The variable race in the DROP, KEEP, or RENAME list has never been referenced.
WARNING: The variable othername in the DROP, KEEP, or RENAME list has never been referenced.
WARNING: The variable pftdate1 in the DROP, KEEP, or RENAME list has never been referenced.
WARNING: The variable fvcraw in the DROP, KEEP, or RENAME list has never been referenced.
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.PULMCON may be incomplete. When this step was stopped there were 0
observations and 18 variables.
WARNING: Data set WORK.PULMCON was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
real time 0.02 seconds
cpu time 0.01 seconds