Please have the FILENAME statement generate a clearer error message when the user specifies and invalid fileref value.
There are many questions on SAS Communities where a user was confused by this error message. For example this recent thread: https://communities.sas.com/t5/Base-SAS-Programming/Invalid-Logical-Name/m-p/106916#M22267
Here is an example of code that generates the error:
1178 filename a.x temp;
ERROR: Invalid logical name.
ERROR: Error in the FILENAME statement.
I searched using Google and the term "logical name" only appears in the SAS 8 help documents and then for the LIBNAME statement and not the FILENAME statement.
Note that the same error in a LIBNAME statement generates a more descriptive error message.
1179 libname A.B '.';
ERROR: A.B is not a valid SAS name.
ERROR: Error in the LIBNAME statement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.