Hi SASkiwi, Thanks for your help 🙂 yes, i found that sometimes the connection isn't created and the below line write in CSV file which contains the statistical result. Line: connect to odbc as mydb (dsn=&dsn) so i need to put the connection in for loop and it will end once the connection is created something like that do i=1 to 5; if connect to odbc as mydb (dsn=&dsn) then --> if the connection created end; else i++; End; run; thanks,
... View more