I have some SAS script that runs perfectly fine from the editor window . However when I use it as a batch file , sometimes it runs , sometimes it does not . The part that fails is :
1) libname ... /* I am connecting to a database
2) proc sql ( dsn= ... /* also connecting to a database
How can I write a code such that if the the libname
and proc sql
fail to establish connection , then try again
. . . like a loop or something
Is there any option for libname
and proc sql
that would extend the timeout "dealine" ?
Please help me