DATA Step, Macro, Functions and more

SAS Macro for Patient Adherence to Medication

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 10
Accepted Solution

SAS Macro for Patient Adherence to Medication

Can any one help with the errors and warning in the attached log.  Macro is also attached

 

Regards.

 

Chris


Accepted Solutions
Solution
‎07-27-2016 05:56 PM
Super User
Posts: 19,822

Re: SAS Macro for Patient Adherence to Medication

Based on only a quick skim, here's my initial guess:

 

You're running on SAS UE and copied and pasted the code from somewhere? 

 

I don't see any massive errors in code and I'm not going to read the macro code. What happens sometimes when pasting into the web browser is invisible characters are added, especially if you grabbed the code from a Word or PDF file.


Try copying the code to a text file first, remove invisibles, then paste back into your browser and try again. 

 

 

View solution in original post


All Replies
Solution
‎07-27-2016 05:56 PM
Super User
Posts: 19,822

Re: SAS Macro for Patient Adherence to Medication

Based on only a quick skim, here's my initial guess:

 

You're running on SAS UE and copied and pasted the code from somewhere? 

 

I don't see any massive errors in code and I'm not going to read the macro code. What happens sometimes when pasting into the web browser is invisible characters are added, especially if you grabbed the code from a Word or PDF file.


Try copying the code to a text file first, remove invisibles, then paste back into your browser and try again. 

 

 

Occasional Contributor
Posts: 10

Re: SAS Macro for Patient Adherence to Medication

Thank you very much for your response, most appreciated.  I will try that.

 

Regards

Occasional Contributor
Posts: 10

Re: SAS Macro for Patient Adherence to Medication

Tried your trick and it works.  Thank you very much

 

Regards.

 

Chris

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 279 views
  • 0 likes
  • 2 in conversation