The following SAS program is submitted: data work.accounting Ī character variable named JOBCODE is contained in both the WORK.DEPT1 and WORK.DEPT2 SAS data sets. This is false because the first dataset(WORK.PEOPLE) is read first and then the second(WORK.EMPSALARY). The IF statement is used to determine whether both the dataset contributed to the current observation. The IN option is applied in both the datasets. SAS reads WORK.PEOPLE dataset first and then WORK.MONEY. How many observations will the data set WORK.EMPSALARY contain? The SAS data set WORKPEOPLE has 5 observations, and the data set WORK.MONEY has 7 observations. The following SAS program is submitted: data work.empsalary PROC procedure-name DATA= d ataset-name LABEL LABEL variable-name=’Label’ RUN The correct syntax for assigning labels in Proc steps is When placed in a procedure the label only stays attached to the variable for that procedure. When a label statement is placed in a data step, the label stays with the variable for all subsequent procedures, unless relabeled.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |