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

There is a typo in the example driver program that is bundled with the Clinical Standards Toolkit 1.6. The program extract_domaindata_all.sas line 153 is

 

 

  if missing(_cstOutputName) then _cstOutputName=cats(compress(Name, 'adk'));

 

If _cstOutputName is missing (ie. the SASDataset attribute is not set in the source xml file), then the _cstOutputName should be set to the value of the Name variable - containing only ascii and digits, so compress statement should be compress(Name, , 'adk').

 

In short, change line 152 in extract_domaindata_all.sas to:

 

 

  if missing(_cstOutputName) then _cstOutputName=cats(compress(Name, ,'adk'));

 

Thanks,

Stuart.

1 ACCEPTED SOLUTION

Accepted Solutions
Lex_SAS
SAS Employee

Hi Stuart,

I'm one of the lead developers of CST.

Thanks for reporting this typo! The idea was to only keep letters and digits, but the result is that the characters 'a', 'd' and 'k' are removed! Your fix is correct.
We will include corrected code in the upcoming hotfixes for CST 1.6 and 1.7. There will be a Technical Support note to cover CST 1.5.

@ChrisHemedinger Thanks for forwarding.

Regards,

Lex

View solution in original post

3 REPLIES 3
ChrisHemedinger
Community Manager

Thanks for the report.  I'll make sure this is forwarded to the development team.

 

Chris

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
Lex_SAS
SAS Employee

Hi Stuart,

I'm one of the lead developers of CST.

Thanks for reporting this typo! The idea was to only keep letters and digits, but the result is that the characters 'a', 'd' and 'k' are removed! Your fix is correct.
We will include corrected code in the upcoming hotfixes for CST 1.6 and 1.7. There will be a Technical Support note to cover CST 1.5.

@ChrisHemedinger Thanks for forwarding.

Regards,

Lex

StuartMalcolm
Calcite | Level 5
Thanks!

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!

New Learning Events in April

 

Join us for two new fee-based courses: Administrative Healthcare Data and SAS via Live Web Monday-Thursday, April 24-27 from 1:00 to 4:30 PM ET each day. And Administrative Healthcare Data and SAS: Hands-On Programming Workshop via Live Web on Friday, April 28 from 9:00 AM to 5:00 PM ET.

LEARN MORE

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