this is the scenario; -> i receive text files, may be one or more with same variable and format, i will need one variable/field for my process which is "date" which come in format like 20150721. different file has different date data as i mentioned above text_file1.txt has 2 distinct date (20150714, 20150713) data text_file2.txt has 4 distinct date (20150712, 20150711, 20150710, 20150709) data -> i read them in and create SAS datasets like text_file1/textfile_2/.........text_file_5 -> i create datasets like data1/data2/....data5 with distinct date date (so if 5 text files, 5 sas datasets (read in), 5 datasets (with distinct date) now lets say i receive 5 text files; -> i read them in and have 5 datasets text_file1 text_file2 text_file3 text_file4 text_file5 -> i created another 5 datasets (from text_file&i.) (with one variable "b_date" with distinct date) data1 ("b_date" variable has 2 distinct date 20150714, 20150713) data2 ("b_date" variable has 4 distinct date 20150712, 20150711, 20150710, 20150709) data3 ("b_date" variable has 1 distinct date 20150708) data4 ("b_date" variable has 1 distinct date 20150707) data5 ("b_date" variable has 3 distinct date 20150706, 20150705, 20150704) NOW, TOMORROW I MIGHT RECEIVE ONLY 2 TEXT FILES AND NOT 5 AND EVEN MAY BE WITH SAME DATE DATA So this could be the message for team, Hi Team, text_file1 has 2 distinct date 20150714, 20150713 text_file2 has 4 distinct date 20150712, 20150711, 20150710, 20150709 text_file3 has 1 distinct date 20150708 text_file4 has 1 distinct date 20150707 text_file5 has 3 distinct date 20150706, 20150705, 20150704
... View more