/
Workstation ID's

Workstation ID's



You can simulate a “workstation id” in Profound UI sessions by naming the job through a query string parameter that Profound UI provide.

If you launch a session like this:

http://yourServer:8080/profoundui/start?workstnid=YOURID         (for signed on session)

Or

http://yourServer:8080/profoundui/start?pgm=yourlib/yourpgm&workstnid=YOURID         (for anonymous session)

Then the name ‘YOURID’ will be given to the job created for your Profound UI session. You can pass anything that is a valid OS/400 job name (10 character max) using this parameter.

In your applications, you can then use the job name field from either the RPG program status data structure or the RTVJOBA CL command to retrieve the “workstation id”. If an attempt is made to use a job name which already exists as a job under the QHTTPSVR subsystem, then an error screen will display.

By default, duplicate job names will not be allowed. However, you can optionally allow duplicate job names using the