If IMPORT_DATA does not exist, then PROC APPEND goes ahead and appends IMPORT_DATA_IN to an empty data set; essentially the result in IMPORT_DATA_IN
If IMPORT_DATA does not exist, then PROC APPEND goes ahead and appends IMPORT_DATA_IN to an empty data set; essentially the result in IMPORT_DATA_IN
Using the Force option and data set names like Import_data_in (note that your "import_ data_in" has a space in the name and will throw an error) makes me think you may be relying on Proc Import for the data read step. If so, be prepared for lots of warning about mismatched variable lengths and truncated data, warning of variables not in the base data so variables will be lost on append and possible even failure if same named variables are of different types than in an existing base data set.
Hello,
Here, when I came to type in, I inserted a space, there is no space in the original code.
blue&blue
@GN0001 wrote:
Hello,
Here, when I came to type in, I inserted a space, there is no space in the original code.
blue&blue
Easy solution: Copy text from editor or Log. Open text box with the </> icon. Paste text.
No fuss, no muss and quicker than retyping.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.
Ready to level-up your skills? Choose your own adventure.