DATA Step, Macro, Functions and more

new in 9.2

Reply
Valued Guide
Posts: 2,175

new in 9.2

"nice-n-new" in SAS9.2
date handling now supports and provides delimiters in DATE format, with width 11. The year format supports width 5.[pre]%PUT %SYSFUNC( PUTN( 2999999, date11. ))
%SYSFUNC( PUTN( 2999999, year5. ));
350 %PUT %SYSFUNC( PUTN( 2999999, date11. ))
351 %SYSFUNC( PUTN( 2999999, year5. )) ;
21-SEP-**** 10173
[/pre]
I think the hyphen separated version is an improvement on the old DATE9 form.
Ask a Question
Discussion stats
  • 0 replies
  • 81 views
  • 0 likes
  • 1 in conversation