BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
GN0001
Barite | Level 11

Hello team,

 

what is the role of "n"?

 

Regards,

blue blue

Blue Blue
1 ACCEPTED SOLUTION
3 REPLIES 3
ballardw
Super User

This is one where I am tempted to say: "Nothing. On purpose".😈

mkeintz
PROC Star

Computer programming in general is a great environment to answer questions by just trying something, as in:

 

data _null_;
  d=today();
  put d=date9.;
  put d=yymmdd8.;
  put d=yymmdds8.;
  put d=yymmddn8.;
run;

Looking at the log provides an answer.

--------------------------
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set

Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets

--------------------------

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 3 replies
  • 915 views
  • 4 likes
  • 4 in conversation