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

Is function TRANSWRD not recognized in SAS EG? If so how can I replace words/characters in a string with other words/characters?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
Opal | Level 21

The correct spelling is TRANWRD and yes it works in EG. Please bear in mind that the full functionality of Base SAS is available via EG. If your Base SAS code works OK in another SAS client interface then it will work in EG.

View solution in original post

3 REPLIES 3
SASKiwi
Opal | Level 21

The correct spelling is TRANWRD and yes it works in EG. Please bear in mind that the full functionality of Base SAS is available via EG. If your Base SAS code works OK in another SAS client interface then it will work in EG.

KC45
Calcite | Level 5

Thanks SASKiwi - I was also trying to run TRANWRD outside the data step then I realized that I should use %sysfunc.!

 

Reeza
Super User

EG is a thin client that's used to access SAS running on a server usually. You can find the version using:

 

%put &sysvlong;

Once you know your version, you can check the documentation for the relevant functions that are available to you. 

 

Here's the 9.4 documentation for TRANWRD. You can also see all other functions in the left hand pane. 

http://documentation.sas.com/?docsetId=lefunctionsref&docsetTarget=p0pgemqcslm9uen1tvr5gcrusgrw.htm&...

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 906 views
  • 2 likes
  • 3 in conversation