Salesforce

_Connect-IPAddress UNAVAILABLE for self-service query

« Go Back

Information

 
Title_Connect-IPAddress UNAVAILABLE for self-service query
URL Name000058396-Connect-IPAddress-UNAVAILABLE-for-self-service-query
Article Number000172432
EnvironmentProduct: OpenEdge
Version: 10.2x, 11.x
OS: Windows
Other: VST
Question/Problem Description
_Connect-IPAddress UNAVAILABLE for self-service query.
An ABL self-service connection running a query on remote clients returns: UNAVAILABLE for remote client's IP Address.
An ABL or SQL client/server connection running a query on remote clients _Connect-IPAddress returns the IP address of the remote client.
Steps to Reproduce
Clarifying Information
The following code shows the _Connect-IPAddress as UNAVAILABLE when run by a self-service client but not when run by a client/server client:
 
FOR EACH _Connect NO-LOCK WHERE _Connect-Name <> ? AND _Connect-Type = 'REMC':
    IF AVAILABLE _Connect THEN
        DISPLAY _Connect-Type _Connect-ClientType _Connect-Name  SKIP
        _Connect-Pid  _Connect-Device _Connect-IPAddress.
END.

The following SQL Query returns the IP Address of all remote clients as the SQL client running the query is connected client/server:
 
SELECT "_Connect-Type", "_Connect-ClientType", "_Connect-Name", "_Connect-Pid", "_Connect-Device", "_Connect-IPAddress" FROM 
PUB."_Connect" WHERE "_Connect-Name" IS NOT NULL AND "_Connect-Type" = 'REMC';

 
Error Message
Defect NumberDefect PSC00328031
Enhancement Number
Cause
For the self service client, networking structures have not been set up, as they are not needed. 
The reason the remote connection retrieves the data is because it gets its data from the remote server that has networking set up. 
Resolution
Until the fix is available, use the workaround below.
Workaround
To find the IP Address of a Remote Client Connection, run the _Connect VST query:
  1. Client Server from a GUI client (prowin32, prowin)
  2. Self-service with a CHUI client (mpro, _progres)
Notes
Keyword Phrase
Last Modified Date11/20/2020 7:18 AM

Powered by