01-21-2015 09:51 PM
I have one external text file that i like to append to another but i dont like to read them in into a dataset as the files have many variables. And they both have the same layout. How do i do that?
01-22-2015 01:37 AM
filename infile ("path_to_file_a","path_to_file_b") options;
if you want to read them in one step.
Otherwise, use the X statement or call system to do it with a suiting OS command, as Reeza suggested.
01-22-2015 05:36 AM
You can make use of the MOD option of the FILE statement, this will allow you to add new records to an existing external file.
see this sample code, that illustrates this:
Need further help from the community? Please ask a new question.