SAS Programming

DATA Step, Macro, Functions and more
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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