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

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

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