I take it you're forcing auto-signon by setting the "Allow auto-signon" return parameter to 1. If you are providing the User Description Information verify the data structure's values are set correctly.
From IBM's manual
User Description Information Field Descriptions
The name of the library that is to be made the current library if you enable the auto-signon flag. This parameter is optional, but if you supply it, you must make certain to left-justify it and pad it with blanks. Valid values are as follows:
The name of the library that you would like the system to designate as the current library
The name of the initial menu to display if you have enabled the auto-signon flag. Valid values are as follows:
The name of a menu to display
Length of user description information
Length of the user description information structure
Program to call
The name of a program that the system will call if you have enabled the auto-signon flag. This parameter is optional, but if you supply it you must left-justify it and pad it with blanks. Valid values are as follows:
The name of a program that the system will start
The user profile that the system uses for the sign-on procedure if you have enabled the auto-signon flag. The system requires this parameter, and you must left-justify it and pad it with blanks.
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Monty G. James
Sent: Wednesday, August 28, 2013 8:11 AM
Using a modified example from Scott (ISOTELIR4) I have registered a exit program with this exit point, The code validates the IP and device name:
If the validating passes sets the user profile, curlib initial program and turn auto signon On.
All work as expected with iSeries Access.
If using TN5250 it failes by filling in the sign on screen with the user profile, initial program and current lib and through a CPF1118 No password associated with the user.
The target for me is to bypass the sign on screen and run the initial program if the connection is from a predefined IP range and device.
Any help would be appreciated.
Monty G. James
Hobby Lobby Stores, Inc.
7707 SW 44th St
Oklahoma City, OK 73179
This email message, including any attachment(s) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you are not the intended recipient, please immediately contact the sender by email.