Workstation Id

Use this board to ask questions or have discussions with other Genie users.
Post Reply
dkmccammon
Profound User
Posts: 48
Joined: Wed Apr 12, 2017 4:44 pm
First Name: Darin
Last Name: McCammon
Company Name: NAICO
Phone: 4052584301
Address 1: 1010 Manvel Ave
City: Chandler
State / Province: Oklahoma
Zip / Postal Code: 74834
Country: United States
Contact:

Workstation Id

Post 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.
User avatar
matt.denninghoff
Profound Logic Staff Member
Posts: 115
Joined: Wed Feb 10, 2016 3:53 pm
First Name: Matthew
Last Name: Denninghoff
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: Workstation Id

Post 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.
dkmccammon
Profound User
Posts: 48
Joined: Wed Apr 12, 2017 4:44 pm
First Name: Darin
Last Name: McCammon
Company Name: NAICO
Phone: 4052584301
Address 1: 1010 Manvel Ave
City: Chandler
State / Province: Oklahoma
Zip / Postal Code: 74834
Country: United States
Contact:

Re: Workstation Id

Post 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.
User avatar
matt.denninghoff
Profound Logic Staff Member
Posts: 115
Joined: Wed Feb 10, 2016 3:53 pm
First Name: Matthew
Last Name: Denninghoff
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: Workstation Id

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests