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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 809 views
  • 0 likes
  • 2 in conversation