On the IBM i, session jobs are pre-started with the user profile of the user who started the listener job. They are changed to the user profile requesting a session when a connection request is received. If you are using program UD@CALL1 to invoke LANSA functions, then use the updated source member provided in file DC@F28 to load the current user into data structure DC@IDS.