When i use PGM—L to test NSC—L I get the right answer when I uses my own user-id as parameter. If I use any other user-id i get returncode 828 (You may not logon to ‘SYSSEC’).
I had the other user doing the same, and had the same result, only the user had acces but not me.
It looks like NSC—L may be using *USER and not the parameter.
Using *USER as default if parameter is not filled is fine, but not if user-id is valid.
The reason why I’m using this module is that LOGONUS will show the current library when there is an error trying to logon to another library.
Using NSC—L in your system would be working, but not good for testing.