"How can I know what is the libaname code that connect between sas and tera here???
I dont need to run the libaname in order to run it but I think that in background it is running but I dont know what libname is running ."
Do you want to know specifically what Terdata instructions the libname statement triggers?
Try this before your libname:
options sastrace="d,,,ds" sastraceloc=saslog nostsuffix msglevel=i;
If you are interested what SQL is sent down, you can settle for:
options sastrace=",,,d" sastraceloc=saslog nostsuffix msglevel=i;
... View more