BookmarkSubscribeRSS Feed
KOUAME
Obsidian | Level 7

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;

 

4 REPLIES 4
japelin
Rhodochrosite | Level 12

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.

ChrisNZ
Tourmaline | Level 20

WPS copied the SAS language and provided their own interpreter. Many features of the SAS language are unsupported, and some work differently.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1417 views
  • 0 likes
  • 3 in conversation