It is clear that lengths and formats of both tables do not match. This will not cause any issue in your scenario.You can adjust the length and format of your data columns so that you do not warning. Or add nowarn to proc append statements, if you do not want to see warnings.
You have two types of warning.
- different formats - anyway you can change format according to your needs.
the format is used just to define how to display the date content.
- as long as the BASE variable is longer then the DATA variable, you can be quiet.
If BASE is shorter there is a risk of truncating the content and as much as I remeber
you'll get an error.
In the interest of writing clean code, follow the code path (backwards) that created amt3.Hyundai_Unique and make sure that the variables in question have consistent attributes.
to suppress those warning, use NOWARN option on proc append statement
Proc append base = amt3.separate1 DATA = amt3.Hyundai_Unique force NOWARN ;
run;
(option exists since at least sas9.2 - https://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000070936.htm)
The OP has not been back to the forum since 2017. So likely no need to resurrect this 5-year-old thread.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.