Here my dataset using Missing function both numeric and character flag variable like slno missing course_name missing
data miss_var;
input slno course_name$ 12.;
if missing(course_name) then do ;
put 'course_name is missing.' ;
end;
else if missing(id) then do;
put 'slno is missing.';
end;
datalines;
001 java
002 c++
003 javascript
node js
005
pandas
;
run;
data miss_var; input slno $ course_name $; if missing(course_name) then do ; check= 'course_name is missing.' ; end; else if missing(slno) then do; check= 'slno is missing.'; end; datalines; 001 java 002 c++ 003 javascript . node js 005 . . pandas ; run;
data miss_var; input slno $ course_name $; if missing(course_name) then do ; check= 'course_name is missing.' ; end; else if missing(slno) then do; check= 'slno is missing.'; end; datalines; 001 java 002 c++ 003 javascript . node js 005 . . pandas ; run;
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.