Can someone look at this portion of my code below; I'm getting the following errors. I have been at this all morning and cannot get the code to run. Thank you in advance for any advice
intck('month', input('Appointment Effective Date'n, anydtdte10.), input('Appointment Expiration Date'n, anydtdte10.)) as month_dif,
case
when calculated month_dif lt 36 then "Presumed Correct"
when calculated month_dif ge 37 then "Create New Start Date"
end as 'new_start_dt_id_1'n,
case
when calculated month_dif ge 37 then intnx('month', 'Appointment Expiration Date'n, -24, 's')
end as 'new_start_dt'n format=date9.,
case
when calculated 'new_start_dt'n ge today() then "Unknown"
else "" end as 'future_dt_id'n
NPN Number needs the quotes and N as well, ie
'NPN Number'n
EDIT: note this is in more than one place in your code so you need to fix all of them.
I will make sure moving forward that I copy the log for every new error and question.
Thank you again for your time today !!!
And when you post logs, use this button:
This will keep the horizontal position of markers.
The "little running man" next to it is for SAS code, it provides coloring similar to the Enhanced Editor.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: