pcsQueryWorkstationProfile

3270 5250 VT
Yes Yes Yes

The pcsQueryWorkstationProfile function returns the workstation profile name that has been used to invoke the host session. To specify the host session, the short session ID must be used. The workstation profile name is copied to the work buffer supplied by the application.