I was creating a customer format in SAS. First of all, I use SAS STUDIO and it works properly. But when I use SAS WPS , I encounter a problem with language option after datype. The aim is to print English date in french with picture statements in proc format. I give these lines of code and join the error message in SAS WPS. Thanks!
/* use the picture statement in PROC */
data date;
input date_naiss;
format date_naiss date9.;
cards;
12345
64675
54646
54646
;
run;
proc format;
picture date_fre (default=40) low-high ='%A %d %B %Y'(datatype=date language=french);
run;
proc print data =date;
format date_naiss date_fre.;
run;
Is the "SAS WPS" you are referring to the "https://www.worldprogramming.com/" WPS?
If so, you should check with WPS support instead of asking here. You should check with WPS support.
WPS copied the SAS language and provided their own interpreter. Many features of the SAS language are unsupported, and some work differently.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.