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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.