Hi, i have one main program called main.sas. it has code as below; option mprint mlogic symbogen; %let path=dummy; %include "&dummy/test1.sas; %include "&dummy/test2.sas; %include "&dummy/test3.sas; %include "&dummy/test4.sas; %include "&dummy/test5.sas; these five subsequent program genarates work tables from sas librabries and test5 will have the final output dataset. the dataset will be exported as .csv file. i want like if any one of (test1,test2,test3,test4,test5) fails the main program should stop/abort immediately generating and error message as "main.sas program failed and not executed. Program execution fails in test1/test2/test3/test4/test5.sas either of these 5 programs." ex: "main.sas program failed and not executed. Program execution fails in test3.sas" Could anyone help me in achieving the solution for the above. Thanks in advance!!
... View more