SAS "successfully assigned from the logical server" vs ", successfully assigned as follows"

As I was viewing the log file from D: \ SAS \ โ€‹โ€‹XXX \ Lev1 \ SASMain \ BatchServer \ Logs

I saw these two lines

NOTE: Libref TESTLIB successfully assigned from logical server. NOTE: Libref TESTLIB was successfully assigned as follows: Engine: XXXX Physical Name: XX.XXX.XXX.XX 

What is the difference or meaning of these two lines?

+5
source share
2 answers

The first line indicates that the library has been designated as a pre-assigned library from metadata. If you look at the SAS management console> Library library manager> TESTLIB> properties> Options> Advanced options> "Library preassigned." If this checkbox is checked, you will see the first line, given that the user has the โ€œRead metadataโ€ permissions in the library. The second line appears if the library is explicitly assigned in the code. DI Studio will create libname statements in the code if the library has not been previously assigned.

+3
source

Assuming you found two lines next to each other:

  • The first line tells you that SAS did not find any problems trying to assign libref TESTLIB. If you tried to assign libref to a nonexistent folder / server or you did not have the required access (etc.), you will receive an error message instead of this line.
  • The second line tells you a little more about the libref that was assigned. In your case, this includes the server IP address and the SAS name mechanism it uses. Depending on the value of XXXX it is possible that in this case you are connecting to another DBMS.
+1
source

Source: https://habr.com/ru/post/1206993/


All Articles