proc format; picture Monthfmt 1-12 = '99' other = 'Not a valid month'; run; proc print data = certadv.monsal; format month monthfmt.; run;
how to know how many 'Not a valid month' are there in the output?
proc freq data = certadv.monsal; tables month; format month monthfmt.; run;
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!