User profile & device name limitation

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

User profile & device name limitation

Post by MegumiSawada »

Hi,

I know we can configure LongRange(& aXes) to specify the device name for each IBM i user profile for LongRange.(In aXesTSUsers.conf).In that case, the only one session will be accepted for each user.

If user turns the device off without ending the session,the previous session(job) will remain active. Then if the user tries to connect LongRange server again, the following error will occur.
"Invalid server response: aXes TS Signon - ts.CheckUser(): Device TEST001 is already in use or not available"

I believe the only way to deal with this error is to wait for timeout because this is intended behavior.
Is my understanding correct?

Best Regards,
Megumi Sawada
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

Re: User profile & device name limitation

Post by MarkDuignan »

If the 5250 job in QINTER is active because the user did not log out properly then it will not end until the job times out, or someone cancels it manually.
You can also set the timeout wait time in a configuration file.
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

Re: User profile & device name limitation

Post by MarkDuignan »

Regarding "because this is intended behavior".
The IBM i operating system will only allow a 5250 device to be used by one job at a time.
So there is no real choice about the behavior here.
if you choose to associate a user with a single 5250 device, then being temporarily locked out is a potential consequence.
eg: I can imagine scenarios where this could happen with 'normal' 5250 emulation sessions as well.
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

Re: User profile & device name limitation

Post by MegumiSawada »

HI Mark,

Thank you for your reply!

Best Regards,
Megumi
Post Reply