September 2019
Beginner to intermediate
346 pages
7h 35m
English
The ID variable in both datasets we concatenated has a numeric format. Let's see what happens when it is declared as a character variable in the Customer_Y dataset:
103 Data Customer; 104 Set Customer_X Customer_Y; ERROR: Variable ID has been defined as both character and numeric. 105 Run; NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set WORK.CUSTOMER may be incomplete. When this step was stopped there were 0 observations and 5 variables.
The only way out for us is to change the format of the ID in either of the datasets. The decision on which dataset needs to have the format changed should depend on what values are expected for the ID variable. If only numeric values are expected, ...
Read now
Unlock full access