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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.