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.

SAS Innovate 2025: Register Now

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!

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
  • 988 views
  • 0 likes
  • 3 in conversation