11-06-2015 01:09 PM
Sorry was not specific enough I think. How to use the value that is been created in one data step in another datastep.
I already answered this.
Look up the data step commands MERGE and UPDATE.
Also, this is possible in PROC SQL.
11-06-2015 04:20 PM - edited 11-06-2015 04:21 PM
There are two kinds of variables in SAS : dataset variables and macro variables.
11-06-2015 12:44 PM
I can think of at least 10 topics that would be more important to learn about in a DATA step:
first. and last.
multiple SET statements
setting lengths of character variables
To address your question, refer to the variable by the variable name. Any other way isn't important until much later in your SAS education. Spend your time wisely!