SAS Data Statement
The data statement is the first line of a SAS data step program. The data statement is used to give a name to a SAS data set. Example:
data first;
input name $ age;
...
creates a SAS data set with the name of first. The name of a SAS data set can be no more that 8 characters long with no embedded blanks. 公卫考场
More than one name can be used in a data statement. The output statement can then be used to construct multiple SAS data sets in a single data step program.
The data step should be terminated by a run statement.
data first;
input name $ age;
...
creates a SAS data set with the name of first. The name of a SAS data set can be no more that 8 characters long with no embedded blanks. 公卫考场
More than one name can be used in a data statement. The output statement can then be used to construct multiple SAS data sets in a single data step program.
The data step should be terminated by a run statement.
附件列表
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。
如果您认为本词条还有待完善,请 编辑
上一篇 SAS Data Step 下一篇 SAS Continue Statement