BookmarkSubscribeRSS Feed
Radhi_sas
Calcite | Level 5

Why do we use ?? in the dataset for ex:  substr(compress(put(subjid,??best.)),4,3);

3 REPLIES 3
Ksharp
Super User

It suppress the Error message appear in LOG if subjid is not a digit .

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Used to hide lack of knowledge about the data.  If your getting an Error in the log, then fix it, don't hide it.

Kurt_Bremser
Super User

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1252 views
  • 1 like
  • 4 in conversation