Kbase P52434: updateTableviaSDO only works with static smartdataobjects
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  31/12/2009 |
|
Status: Unverified
SYMPTOM(s):
updateTableviaSDO doesn't work with dynamic smartDataobjects.
updateTableviaSDO only works with static smartDataobjects.
FACT(s) (Environment):
Dynamics 2.0A
CAUSE:
Logged enhancement request for updateTableviaSDO to work with dynamic SmartDataObjects.
FIX:
Replace the static run of the SDO in updateTableviaSDO:
/* Start up SDO */
RUN VALUE(pcSdoName) ON gshAstraAppServer PERSISTENT SET hSDO NO-ERROR.
With:
/* Start up SDO */
IF SUBSTRING(pcSDOName,LENGTH(pcSDOName) - 1,2) = ".w" THEN
DO:
RUN VALUE(pcSdoName) ON gshAstraAppServer PERSISTENT SET hSDO NO-ERROR.
END.
ELSE
DO:
RUN startDataObject IN gshRepositoryManager (INPUT pcSdoName, OUTPUT hSDO).
END.