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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.