View Full Version : Knowing a user sign on from which Client -Access PC.
01-01-1995, 02:00 AM
How to determine which Client-access PC that a User signon by using a CL program or RPG program.
05-23-2000, 07:43 AM
Sunni, If you have CA set up with specific IDs, and you have autoconfig turned off, you can assign names to the workstation via wrkdevd. If not, you get the same old QPADEVxxxx device name. With autoconfig turned on, you also have the addtional overhead of not knowing if QPADEVxxxx was just created, etc. without some research. We came in on a weekend and fired up PC's one at a time with autoconfig turned off. This allowed us to create (crtdupobj) a device specific for that location. We named them and hadn't had trouble yet. Hope this helps, Bret Myrick
05-23-2000, 08:07 AM
Bret, I want to use a specific device name and I see where I assign that name. I usually have anywhere from 2 to 4 sessions going at once. How do I assign a device name that will work for multiple sessions? If I try using the same device name it doesn't work because it's already in use. TIA Chris
05-23-2000, 08:33 AM
Chris, If you save your sessions for the PC, (I think) that you can assign unique IDs for each. I have not done this in a few years, but it did work for us. Back with PC Support, it was easier, but took up a lot of nasty room. With CA, you will actually assign a port and slot just like you would a 'dumb' device. Then, even with autoconfig ON, the system will use this name instead of assigning QPADEVxxxx. I turn autoconfig OFF, just to keep people from attempting to signon on from an outside (internet) device. If they don't have a port, etc. defined, they can't get in 'cause autoconfig won't configure a virtual device for them. Hope this helps, Bret Myrick
05-23-2000, 08:41 AM
Chris When I created and named my devices, I just called them: CHARLIE01, CHARLIE02, CHARLIE03, .... When I signon from home, my device names are CBHOME01, CBHOME02, ... HTH Charlie Browne
05-23-2000, 11:53 AM
Charlie & others, There is a telnet exit that will allow you to dynamically assign a device name. The exit is QIBM_QTG_DEVINIT. You can find more information in the TCP/IP configuration and reference manual. David Morris
05-23-2000, 01:52 PM
If you have Client Access Express, you can create a "root" device name that will automatically increment when you start up new sessions. There are other options to this automatic name creation too. I haven't tried it myself. The info on this can be found in our favorite AS400 magazine at: http://www.midrangecomputing.com/ane/article.cfm?id=345
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.