Hi,
I am new to SAS. The question might be stupid but I really need to know the answer.
The code is
data score;
input student $9. +1 StudentID $;
datalines;
.................
run;
what is the function of "+1" here??
Thank you for your help in advance
These types of questions are explained in the documentation - see example 1 in the link below:
If the documentation isn't clear then by all means ask for clarification.
I suggest you bookmark documentation.sas.com for future reference.
These types of questions are explained in the documentation - see example 1 in the link below:
If the documentation isn't clear then by all means ask for clarification.
I suggest you bookmark documentation.sas.com for future reference.
If you know where to look, it's easy to find the answer, yes.
In this case, you have to know to look under the input statement; search for "+", and there's the answer.
But if you don't know to look under the input statement? The documentation is of no help. Not all special characters are indexed.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.