Different variable length and additional variables

Now, we will look at some small dataset differences that we need to overcome in the practical world. As part of the deep dive, we will also look at the APPEND methodology to concatenate datasets. Let's get started:

Data Customer;Set Customer_X Customer_Y;Run;

This will give us the following tables as output:

Note that we have missing values for the Dependents variable in the output:

A quick look at the LOG shows the following comment:

WARNING: Multiple lengths were specified for the variable ...

Get Hands-On SAS for Data Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.