Consultor Eletrônico



Kbase P98312: What does Dynamic need in the app-server-info of hAppServer:CONNECT(....)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   01/12/2004
Status: Unverified

GOAL:

What does Dynamic need in the app-server-info of hAppServer:CONNECT(....) (the last option)

FACT(s) (Environment):


Dynamics 2.1A

FIX:


The answer in the source code of afasconmgrp.p/connectService. It seems that the hAppServer:CONNECT() is used only once in Dynamics, in the connection manager: (here in 2.1A03)
[...]
/* cAppServerInfo contains several parameters in a string. This string is passed
as the AppServerInfo parameter in the connect method so that the as_connect.p
procedure can parse these values out for use by the AppServer. */
cPhysSessType = DYNAMIC-FUNCTION("getPhysicalSessionType":U IN THIS-PROCEDURE).
IF cPhysSessType = ? THEN
cPhysSessType = "?":U.

cAppServerInfo = "VER:2.1A":U + CHR(3)
+ cPhysSessType + CHR(3)
+ SESSION:NUMERIC-SEPARATOR + CHR(3)
+ SESSION:NUMERIC-DECIMAL-POINT + CHR(3)
+ SESSION:DATE-FORMAT + CHR(3)
+ STRING(SESSION:YEAR-OFFSET) + CHR(3).
[...]