Page 1 of 1

Workstation Id

Posted: Wed Oct 18, 2017 11:09 am
by dkmccammon
We are wanting to change the workstation Id that gets submitted for the Subsystem/Job name from being QPADEV0002 to SDMCCAMMON01 for example.
This new name would be derived from the users name lead by "S" and followed an incremental number starting with 01. Is there a way to do this?

I did read this article:
http://www.profoundlogic.com/forum/view ... ation#p502

And have read that you can specify your own id, if using the Virtual Terminal to communicate 5250 streams, which we are, but I could not find the how to on doing this.

Re: Workstation Id

Posted: Wed Oct 18, 2017 2:12 pm
by matt.denninghoff
The example parameter, "workstnid", provided in the article is how you set the workstation ID.

There is something missing from that article--what if a user wants to sign on more than once. Then you would add the "suffixid=1" argument, telling Genie to add a suffix when the workstnid argument is already in use.

For example:

http://myIBMi:8080/profoundui/genie?wor ... suffixid=1

The argument to the "suffixid" parameter should always be "1". Genie decides on the suffix. Note, however, that the resulting workstation ID must be 10 characters or less--SDMCCAMMON1 is 11, so it is too long. You'd need to shorten the "S" + user name to 9 characters or less.

The following URL would allow you to use, I think, 36 IDs starting with SDMCCAMMO:
http://myIBMi:8080/profoundui/genie?wor ... suffixid=1
The first is SDMCCAMMO, the 2nd is SDMCCAMMO1 ... SDMCCAMMO9 ... SDMCCAMMOA ... SDMCCAMMOB ... etc.

Re: Workstation Id

Posted: Wed Oct 18, 2017 6:03 pm
by dkmccammon
Is there a way to grab the user name and assign that as the WorkstationID without having to hard code the worstnid in the url? Otherwise we would have to give each employee a custom url. Hope that makes sense.

Re: Workstation Id

Posted: Thu Oct 19, 2017 10:57 am
by matt.denninghoff
Unfortunately, the only way to set the workstnid is via the "workstnid" URL parameter. There is no way for Profound UI to automatically set workstnid to the user: the terminal instance (with workstation id) is setup before the user profile name is known.