BookmarkSubscribeRSS Feed
ShammiKalsi
Fluorite | Level 6

Hello All,

I am using sas dataflux data management studio. i have mobile number col which has invalid mobile number. can u tell me how to build expression so that i can get the valid mobile number.

1 REPLY 1
RonAgresta
SAS Employee

Hi,

I assume you are asking how you can standardize the format of the phone number. This is best handled by using one of the "Phone" standardization definitions through the Standardize node in a data job in Data Management Studio. Choose a standardization definition that suits the locale/location from where the phone number originates. It's also possible to write custom expression code (and even regular expression code) in the Expression node but the standardization definition takes care of parsing the number for you ahead of any standardization routine.

Ron

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 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
  • 1 reply
  • 948 views
  • 0 likes
  • 2 in conversation